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
In reply to Re^3: Longest repeated string...
by Limbic~Region
in thread Longest repeated string...
by Yzzyx
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |