[JaxPM] Re: Modified RO vars ?

-Sx- IUDICIUM sneex at mac.com
Tue May 7 14:04:56 CDT 2002


On the jacksonville-pm-list; Jax.PM'er -Sx- IUDICIUM <sneex at mac.com> wrote -

Spoken like a true teacher and researcher :)

On Tuesday, May 7, 2002, at 02:58  PM, J Proctor wrote:

> Let's pare this down.
>
> *a = \1;
> for (@x = ($a))
>     { $_++; print; }
> ...

> this roundabout read-only 1 in it is no different from:
>
> for (@x = (1)) {$_++; print;}
>
> which we all know should work just fine.


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