Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Do Storable and IO::Zlib like to play together?

by sauoq (Abbot)
on Nov 03, 2005 at 19:32 UTC ( [id://505487]=note: print w/replies, xml ) Need Help??

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.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-18 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found