[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] So, you think you know Perl?



On Fri, Mar 30, 2001 at 10:55:41AM +0100, Michael G Schwern wrote:
> 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.

But this is a syntax error:

while (<>) {
    print q
} continue {
    print or die "-p destination: $!\n";
}


So there's still one piece missing...


Ronald

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe