Welcome to the Monastery | |
PerlMonks |
Re: Perl memset equivalent?by sauoq (Abbot) |
on Jun 26, 2012 at 18:43 UTC ( [id://978486]=note: print w/replies, xml ) | Need Help?? |
It's hard to guess what you are trying to achieve exactly... Do you want: which gives you an array filled with five zeros? Or do you want something more like: which will give you a string packed with 5 nulls?
-sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|