in reply to Re^2: Longest repeated string...
in thread Longest repeated string...
but then we could discuss the difference between lists and arrays and it wouldn't be worth it. I think I was able to get the OP to understand even if I wasn't completely accurate. I do think it would make for a good entry in "Perl Idioms Explained".while ( @array ) { ... } # or print "Array is empty\n" if ! @array;
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Longest repeated string...
by japhy (Canon) on Feb 03, 2006 at 17:45 UTC | |
by Limbic~Region (Chancellor) on Feb 03, 2006 at 17:48 UTC |