[JaxPM] Modified RO vars ?

Steve Lane sml at zfx.com
Tue May 7 09:48:57 CDT 2002


On the jacksonville-pm-list; Jax.PM'er Steve Lane <sml at zfx.com> wrote -

-Sx- IUDICIUM wrote:
> 
> On the jacksonville-pm-list; Jax.PM'er -Sx- IUDICIUM <sneex at mac.com> wrote -
> 
> A summary of a recent discussion on FWP list:
> 
> perl -e '(*a,*b,*c)=(\1,\2,\3); for ( @x = ($a,$b,$c) ) { $_++; print }'

it does exactly what i'd expect it to do.  here's
a slightly appended-to example:

$ perl -le '(*a,*b,*c)=(\1,\2,\3); for ( @x = ($a,$b,$c) ) { $_++; print } print "$a $b $c"'
2
3
4
1 2 3

--
Steve Lane <sml at zfx.com>

Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...




More information about the Jacksonville-pm mailing list