Perl Considerations for s2p

by Geethalakshmi 2010-09-17 13:00:55

Perl Considerations for s2p


The perl script produced looks very sed-ish, and there may very well be better ways to express what you want to do in perl. For instance, s2p does not make any use of the split operator, but you might want to.

The perl script you end up with may be either faster or slower than the original sed script. If you're only interested in speed you'll just have to try it both ways. Of course, if you want to do something sed doesn't do, you have no choice.

S2p uses no environment variables.

Tagged in:

817
like
0
dislike
0
mail
flag

You must LOGIN to add comments