Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: Re: number of lists in array

by CharlesClarkson (Curate)
on Dec 01, 2001 at 08:03 UTC ( #128824=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: number of lists in array
in thread number of lists in array

I doubt it's efficient but this just looks too wierd not to mention.

my $lines = do{ my $file_name = 'in.txt'; open my $fh, $file_name or die "$file_name: $!"; () = <$fh>; }; print $lines;



HTH,
Charles K. Clarkson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://128824]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-07-22 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.