Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: How's your Perl?

by xmath (Hermit)
on Oct 28, 2003 at 18:50 UTC ( #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 :-)


Comment on Re: Re: How's your Perl?
Download Code
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
Node Status?
node history
Node Type: note [id://302758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2014-07-24 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (165 votes), past polls