in reply to Re: Apparent Inconsistencies in Perl Function Naming
in thread Apparent Inconsistencies in Perl Function Naming
this returns 1. Why? length returns the length of a string in characters. the string you gave it was @a which is the # of elements in the array @a. in this case 4@a=qw(joe bob dude cool); print length @a;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 3: Apparent Inconsistencies in Perl Function Naming
by tilly (Archbishop) on Nov 26, 2000 at 03:53 UTC | |
Re: Re: Re: Apparent Inconsistencies in Perl Function Naming
by quidity (Pilgrim) on Nov 26, 2000 at 19:37 UTC | |
by kael (Monk) on Nov 27, 2000 at 05:44 UTC |