On Jan 25, Bill -OSX- Jones said:
>$_ = "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 ?
$x is going to be zero for all of them, because $_ does not contain any
_'s or y's.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.