![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re[3]: How's your Perl?by Juerd (Abbot) |
on Oct 27, 2003 at 08:11 UTC ( #302356=note: print w/replies, xml ) | Need Help?? |
Create an array @x such that changing $x[0] ...
You're really printing the wrong thing.
You're changing the variable that is refered to by the references in $x[0] and $x[1], but you're not actually changing the value in the container that is named $x[0]. Clearer would be: "so that assigning to $x[0] also changes ...", but as said, we're against sanity. Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Meditations
|
|