On Fri, Jan 25, 2002 at 12:50:54PM -0500, Bill -OSX- Jones wrote:
> 
> So, to come back, allow me to ask:
> 
> $_ = "a planet of Perl Fun";
> for $y(qw/a e f l n o p r t u/){$x||=y/$y//%2; print " $y $x \n"}
> 
> What is $x being set to and why ?

0, because "a planet of Perl Fun" does not contain either of '$' or 'y'.
tr/// does not interpolate.

Ronald

Reply via email to