|Perl Monk, Perl Meditation|
Re: Use of uninitialized value in substitution (s///)by BrowserUk (Pope)
|on Oct 06, 2011 at 23:57 UTC||Need Help??|
Line 192 is "$ACETmpltDir = ~s/$ACEEnvironment//g;".
That should be $ACETmpltDir =~ s/$ACEEnvironment//g;. Pay careful attention to the spacing around =~.
What you have at the moment is trying to apply the substitution to $_; then apply
and finally assign (=) that to $ACETmpltDir, but it falls at the first hurdle because $_ is undefined.
(*)Corrected. Thanks to AnomalousMonk
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.