P is for Practical | |
PerlMonks |
qw commentsby mdupont (Scribe) |
on Nov 09, 2001 at 22:33 UTC ( [id://124430]=perlmeditation: print w/replies, xml ) | Need Help?? |
Dear fellow monks, I have a problem with qw, one of my favorite little perl tools. Like all our good friends, the better you know them, the more little things that get on your nerves and the more you want to change them for the better! Other monks have meditated on qw before , here is a replacement for it! :) I want to have it ignore everything after a # sign on a line, i have a big ol' qw and want to comment one element out. What a pain! Also it would be nice to explicitly create an undef, newline or \r element and not have it as a string. Maybe it would look like this : thanks to demerphq in advance for the review (and lots of tips) on the post!
Edit: chipmunk 2001-11-09
Back to
Meditations
|
|