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.