Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chilling in the Monastery: (10)
As of 2014-08-27 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls