in reply to Newb wrestles with join
More than likely, it's an artifact of code that's been modified by someone who didn't notice that he no longer had a list to join together.
Maybe the original code was slurping a file into an array, as in
@content = <FILE>...at which point
my $circle = join '', @content;...would make sense. As the code evolved, its author grabbed the webpage from the website with LWP::Simple instead of slurping in a file, and the code got modified, but not quite enough to eliminate the useless use of join. ;)
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Newb wrestles with join
by Dizzley (Novice) on Oct 01, 2005 at 06:55 UTC |