Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Distinguishing a v-string from something elseby converter (Priest) |
on Dec 04, 2002 at 23:25 UTC ( [id://217625]=note: print w/replies, xml ) | Need Help?? |
The v-string is just a convenient way for the programmer to construct a literal string composed of (possibly) non-printable characters.
It doesn't matter how the programmer using your code wrote the string expression, the result is the same. If your code expects a string limited to a certain subset of characters, then you should validate the input.
In Section
Seekers of Perl Wisdom
|
|