Welcome to the Monastery | |
PerlMonks |
get it into one line ?by physi (Friar) |
on Apr 16, 2001 at 12:58 UTC ( [id://72789]=perlquestion: print w/replies, xml ) | Need Help?? |
physi has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm trying to 'convert' the following code into an oneliner But I can't. Ok this code should delete all multiple chars in $secret. The result is in $newsecret afterwards. Now I tried it with a map-Statement: But what has to be written into the { } part ? I'd tried this one: But that results in numberfilled array $newsearch string. Any ideas ? Thanks
Back to
Seekers of Perl Wisdom
|
|