Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<> operator, our, and Filehandles #2325

Closed
p5pRT opened this issue Aug 7, 2000 · 3 comments
Closed

<> operator, our, and Filehandles #2325

p5pRT opened this issue Aug 7, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 7, 2000

Migrated from rt.perl.org#3649 (status was 'resolved')

Searchable as RT3649$

@p5pRT
Copy link
Author

p5pRT commented Aug 7, 2000

From olaf@execpc.com

Created by nick@usb.com

use IO​::File;
use strict;

our $FH = new IO​::File;

$FH-&gt;open(anyfile) or die $!;

$_ = <$FH>; #returns nothing even tho the file a.) opened and b.) has
input
  #Remove the our declaration for $FH and it works!
  #read however does work. <> does not
my $ZH = $FH;
$_ = <$FH>; #supposedly works, untested

Perl Info

Flags:
    category=core
    severity=medium

Site configuration information for perl v5.6.0:

Configured by nick at Wed May 31 11:40:45 EDT 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.12-20, archname=i686-linux
    uname='linux localhost.localdomain 2.2.12-20 #1 mon sep 27 10:40:35
edt 1999 i686 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.6.0:
    /usr/lib/perl5/5.6.0/i686-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i686-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .


Environment for perl v5.6.0:
    HOME=/home/nick
    LANG=en_US
    LANGUAGE (unset)
    LC_ALL=en_US
    LD_LIBRARY_PATH=/usr/local/sybase/lib:
    LOGDIR (unset)
   
PATH=/usr/local/sybase/bin:/usr/local/shared/sybase/sybcentral40/java:/usr/local/bin:/bin:/usr/bin:/usr/X11R6
/bin:/home/nick/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash




@p5pRT
Copy link
Author

p5pRT commented May 8, 2003

From @iabyn

(just reviwing old perl bug reports).

I'm closing this call, as it's been fixed in Perl 5.8.0.

Regards,
Dave M.

@p5pRT
Copy link
Author

p5pRT commented May 8, 2003

@iabyn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant