"Charles K. Clarkson" wrote:
> 
> WC -Sx- Jones [mailto:[EMAIL PROTECTED]
> :
> : Hmmm, I get 3 Indians in only the first variable anyways  =/
> :
> : # Make -w / use strict; happy...
> : my (    $onelittle,
> :          $twolittle,
> :          $threelittle,
> :     ) = 'Indians' x 3;
> 
>     Ahh! Grasshopper ...  :)
> 
>     Make 'Indians' an array.
                     ^^^^^^^^
                     a list

perldoc -q "What is the difference between a list and an array"

> my( $onelittle,
>     $twolittle,
>     $threelittle, ) = ('Indians') x 3;


John
-- 
use Perl;
program
fulfillment

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


Reply via email to