Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    $fh2->close;
    
    print Dumper $href;
    
  2. or download this
    perl -MIO::Zlib -e '$fh = IO::Zlib->new("test.gz", "wb"); print fileno
    +($fh)'
    
  3. or download this
    sub AUTOLOAD
    { print "AUTOLOAD(@_)\n";
    ...
    
        return tied(*{$self})->$AUTOLOAD(@_);
    }
    
  4. or download this
    $ perl -MIO::Zlib -e '$fh = IO::Zlib->new("test.gz", "wb"); print file
    +no($fh)'
    AUTOLOAD(IO::Zlib=HASH(0x81e8b30))
    IO::Zlib=HASH(0x81e8b30) IO::Zlib::FILENO 
    main -e 1
    Not a GLOB reference at /usr/lib/perl5/site_perl/5.8.0/IO/Zlib.pm line
    + 566.
    
  5. or download this
    $ perl -MIO::Zlib -e '$fh = IO::Zlib->new("test.gz", "wb"); print $fh-
    +>fileno'
    AUTOLOAD(IO::Zlib=GLOB(0x8124538))
    ...
    IO::Zlib=HASH(0x81e8b3c) IO::Zlib::ILENO
    IO::Zlib /usr/lib/perl5/site_perl/5.8.0/IO/Zlib.pm 566
    Not a GLOB reference at /usr/lib/perl5/site_perl/5.8.0/IO/Zlib.pm line
    + 566.