Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 cooling their heels in the Monastery: (14)
As of 2014-09-18 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (121 votes), past polls