Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Filehandle woes

by c-era (Curate)
on Dec 11, 2001 at 01:11 UTC ( #130781=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (TEST,"test") || die $!;
    mysub (TEST);
    ...
    my $txt = <$fh>;
    print $txt;
    }
    
  2. or download this
    package mypac;
    sub mysub {
    ...
    package main;
    open (TEST,"test") || die $!;
    mypac::mysub ("main::TEST");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-05-19 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?