I use the scalar keyword on occasion:

#!/usr/bin/perl
my @arr = qw/adfs adsf 4fd feqw3 f432d/;
print "The size of the array is " . scalar (@arr) . "\n";

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to