Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: How's your Perl?

by xmath (Hermit)
on Oct 28, 2003 at 18:50 UTC ( [id://302758]=note: print w/replies, xml ) Need Help??


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

re 8: perl has a fixed evaluation order (L->R for most operators, including eq), so you can use that. That it's not officially defined/documented is ofcourse of no concern :-)

Replies are listed 'Best First'.
Re: Re: Re: How's your Perl?
by diotalevi (Canon) on Oct 28, 2003 at 18:55 UTC
    I've now see the answer (and its obvious) for #8 and in that rare case the evaluation order doesn't actually matter since it won't affect anything but if it were anything else then I'd have to call shenanigans on you for the trick question since you'd only be testing on the implementation and not the specified language.
      you'd only be testing on the implementation and not the specified language
      Joke right? specified language? perl? ;-)

      in any case... many other exercises (5, 7, 9a, 9b, 11, probably 10 too) also rely on undefined behavior, or at least their official answers do. It's considered acceptable for obfu and bizarre exercises :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-03-28 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found