On Thu, Aug 05, 1999 at 05:17:48PM -0700, Vicki Brown wrote: > #!/usr/bin/perl > > foreach (@INC) { > print > print "\n" > } > > The results are not what I expected... Missing semicolon after the first print --- what you have is equivalent to foreach (@INC) { print print "\n" } which, as print "\n" always succeeds, prints 1 for each @INC. It took me a while to see that too --- it looked too much like Python. :) -- Adam Sampson azz@gnu.org ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe