http://qs321.pair.com?node_id=577371


in reply to the repetition operator does not repeat "\x00" Why?

The repetition operator works fine, try print length $_; it's Data::Dumper that does not output the '\x00' ...

-- 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.