in reply to qw and its lovely magic
allows you to use the escape and unescape functions as if you had defined them in your namespace.use CGI qw/escape unescape/;
Outputsuse strict; use CGI qw/escape unescape/; my $escval = escape('test script'); print "Escaped: $escval\n"; my $val = unescape($escval); print "Unescaped: $val\n";
Escaped: test%20script Unescaped: test script
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: qw and its lovely magic
by Grygonos (Chaplain) on Jun 25, 2003 at 14:49 UTC |