in reply to Re: Taken out of Context
in thread Taken out of Context

Hi Aristotle,

    I’m not sure why you thought map would be easier than foreach.

Originally I didn't have a foreach, it was actually just a for (my $i = 32; $i < 127; ++$i).  That's why I said "... basically something like this ..."  I modified it later to have a similar "look" as the (almost) equivalent map construct.

And your point about "next" and "last" is both correct and ironic, because the first thing that happened when I switched to map was that I ran into the problem of next not being usable and having to be written differently, which reminded me of this recent question.

I hoped the title, being a common idiom, wouldn't give it away to too many.  Of course, now that you've brought it up, your reference to the title might actually be a spoiler in and of itself ... :)


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/