Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: the repetition operator does not repeat "\x00" Why?

by Hofmator (Curate)
on Oct 11, 2006 at 06:09 UTC ( #577532=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://577532]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2021-10-24 15:53 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.