Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Unusual coding arrangements in Perl

by GrandFather (Saint)
on May 03, 2007 at 12:29 UTC ( [id://613365]=note: print w/replies, xml ) Need Help??


in reply to Unusual coding arrangements in Perl

Slurp all the "lines" from the (probably special) file handle "DATA" into the directories_time_tagged array, then remove the line separator sequence from each entry in the array.

Compact? Sure. Unusual in Perl? Nope. Hard to understand described in English? I don't think so.

Of course the description has to allow a little slop due to the influence of things such as the $/ special variable - but that doesn't really detract from the understanding does it?


DWIM is Perl's answer to Gödel
  • Comment on Re: Unusual coding arrangements in Perl

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found