Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 :-)

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
Node Status?
node history
Node Type: note [id://302758]
help
Chatterbox?
[Corion]: So maybe I should investigate how to plug in a cache in front of DBIx::Class so I can do a ->selectall_hashre f and then satisfy the "sub"-selects from that cached single SELECT statement ...
[erix]: then you might as well send that patch to the DBIC guys :)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-09-25 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (279 votes). Check out past polls.

    Notices?