I ran across a curiosity in a perl program today, which can be explained
like so:

 @ITEMS = (0, 1, 2);
 print @#ITEMS;                # prints "2";


So if you wedge a '#' into an array name, it means "the length of the array,
less 1" (Oh, of course!). The guy was using it as a loop limit. 

I couldn't find anything on this in any of the perl books I own... is this a
documented feature of the language, or just a fetid schbat of boogage?  

To me, it looks suspiciously like a fetid schbat of boogage.

Phil Plumbo.

Or, perhaps, a turgid wad of hell-snot.




---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org