We don't bite newbies here... much | |
PerlMonks |
Re^3: Perl can do it, take 1 (sentence generation)by ikegami (Patriarch) |
on Jun 17, 2005 at 15:35 UTC ( [id://467768]=note: print w/replies, xml ) | Need Help?? |
I dread +shift (and anything with a + to force scalar context, it just looks so kludgy...), I guess you could use $_0 instead ? Yes. Or add my ($var) = @_ then use $var. Why are you using quotemeta ? In case there are any special characters in the words being joined. If there was a "*" in the word, for example, it would need to be escaped because we're forming a regexp. That's exactly what quotemeta does.
In Section
Meditations
|
|