"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> need for püerl came form a quite complex bash script which needs also some data mangling
good reason :) - this is generally my arc since I actually prefer using shell scripts for most simple things. As tempting as it is, I would not try to use perl like awk. Doing this in a more readable and expanded way will greatly assist you in your efforts. The /x flag will allow you to even break the regex up over multiple lines and with comments. Your future self and certainly others will appreciate this. Check out perlre for this (and more). You may also want to checkout Regexp::Common. It may have your use case; if not it's still good to study. In reply to Re: Need advice in for perl use as awk replacement
by perlfan
|
|