Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Use of uninitialized value in substitution (s///)

by armstd (Friar)
on Oct 07, 2011 at 04:34 UTC ( #930104=note: print w/ replies, xml ) Need Help??


in reply to Use of uninitialized value in substitution (s///)

While you're at it, unless $ACEEnvironment is a regexp, you probably also want to quote it better to prevent unintended matches...

$ACETmpltDir =~ s/\Q$ACEEnvironment\E//g;

It's clearly not the case here, but it's a good habit to get into.

--Dave


Comment on Re: Use of uninitialized value in substitution (s///)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2015-07-29 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls