On Thu, Mar 29, 2001 at 08:40:16PM +0200, abigail@foad.org wrote: > Your exercise for today: > > 1) Predict what > > echo "" | perl -ple 'print q' > > does. Here's my prediction, for the record. } continue { print or die "-p destination: $!\n"; > 2) Run the above command and compare it with your prediction. Ok, so the formatting is off. > 3) Explain any differences. Ummm... the only reason this came to mind is because I saw you do something similar in a JAPH. However, I have no idea how that worked as it should have turned out to be something like: LINE: while (<>) { print q } continue { print or die "-p destination: $!\n"; } And q}{ is a syntax error... OH! but q}} isn't! You frighten me. -- Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One I'm exploring my nipples. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe