The $#array notation is handy when you don't know how big an array is. It is the last index in the array.
You may want those indexes to run through 0..$#$_.my $float = $_->[1] ? join( ',', @{$_}[1..$#$_]) : 'n/a';
After Compline,
Zaxo
In reply to Re: A confusing Use of uninitialized value
by Zaxo
in thread A confusing Use of uninitialized value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |