Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: Re: How's your Perl?

by hardburn (Abbot)
on Oct 27, 2003 at 16:43 UTC ( [id://302427]=note: print w/replies, xml ) Need Help??

in reply to Re: Re: How's your Perl?
in thread How's your Perl?

I could get to work by rewriting it as "1while foo" or "1until!foo".

That loop will stop as soon as foo() returns false. The quiz didn't specify that foo() will always return a true value, so you can't assume it.

I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

:(){ :|:&};:

Note: All code is untested, unless otherwise stated

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://302427]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 16:14 GMT
Find Nodes?
    Voting Booth?

    No recent polls found