Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Interesting behavior in eval block

by moritz (Cardinal)
on Jun 19, 2008 at 18:33 UTC ( [id://692986]=note: print w/replies, xml ) Need Help??


in reply to Interesting behavior in eval block

my $str = "use $module"; $str .= 'qw(' . $args . ')' if $args ne '1';
There's a space missing, which causes perl to try to load Time::HiResqw

I recommend a warn $@ if $@; after your eval.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-19 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found