slugger415 has asked for the wisdom of the Perl Monks concerning the following question:
Hello dear monks, a user of a script I've written that uses the URI::Escape module keeps getting an error:
Undefined subroutine &URI::Escape::uri_escape_utf8 called at myscript.pl line 375.I cannot duplicate this error on my machine. I use it thusly:
use URI::Escape; ## lots of other stuff ## $booktitle = URI::Escape::uri_escape_utf8($booktitle);
I'd also used it like so, without the prefix:
$booktitle = uri_escape_utf8($booktitle);
Someone else reported a similar error with that syntax, and it was fixed when I added the URI::Escape prefix to the call.
We're both running ActivePerl, he 5.8 and I 5.12, does that make a difference? Is there something I'm missing?
thanks very much -- Scott
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Puzzling URI::Escape problem
by tobyink (Canon) on Apr 02, 2012 at 22:15 UTC | |
by Anonymous Monk on Apr 02, 2012 at 23:52 UTC | |
by slugger415 (Monk) on Apr 03, 2012 at 18:29 UTC | |
by Anonymous Monk on Apr 03, 2012 at 21:47 UTC |
Back to
Seekers of Perl Wisdom