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


Comment on Re: Re: Re: Re: Re: number of lists in array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-30 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls