We don't bite newbies here... much | |
PerlMonks |
Re^3: the repetition operator does not repeat "\x00" Why?by Hofmator (Curate) |
on Oct 11, 2006 at 06:09 UTC ( [id://577532]=note: print w/replies, xml ) | Need Help?? |
You are correct, Data::Dumper prints the '\0' but it is only visible in the output via something like cat -v. Nice trick btw, I didn't know about that. Thank you!
-- Hofmator Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|