Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Accessing %ENV directly in scriptby educated_foo (Vicar) |
on Dec 11, 2013 at 20:19 UTC ( [id://1066706]=note: print w/replies, xml ) | Need Help?? |
Doing things with stuff is error-prone, but fortunately you don't catch cooties just from touching things that have been on the internet...
Just don't make any assumptions about it -- it's just some bytes. If you expect a string with some maximum length, or without certain characters, verify it. In your case, you're just looking at /-separated bits of URL-encoded text, so it's not a big deal.
In Section
Seekers of Perl Wisdom
|
|