Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Dying for a Good Japh

by liverpole (Monsignor)
on Jan 30, 2006 at 15:57 UTC ( #526471=note: print w/ replies, xml ) Need Help??


in reply to Re: Dying for a Good Japh
in thread Dying for a Good Japh

Thanks for the good analysis ++.

You're correct about not needing the eval.  I left that in because it was how I discovered the trick of doing a require followed by die in the first place, when working on code that needs Win32::CONSOLE::ANSI, but only on Windows.  When debugging the program by putting die in the middle, I was surprised that it died with the error I had circumvented with the eval.  Looking up die, quickly set me straight that the behavior was correct.

Besides the double entendre on "Dying for a Good Japh", I like the irony that the program complains it can't find JAPH in "Just Another Perl Hacker"!


@ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"


Comment on Re^2: Dying for a Good Japh
Re^3: Dying for a Good Japh
by tweetiepooh (Friar) on Jan 31, 2006 at 10:41 UTC
          I think there is an implicit "die" in the error that it can't find the module.

      No there isn't.  If eval is used, taking out die will cause the output to cease appearing.  Try it and see...


      @ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"
        True but I'd already taken out the eval.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2014-09-02 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls