in reply to Re^2: the repetition operator does not repeat "\x00" Why?
in thread the repetition operator does not repeat "\x00" Why?
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