Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: cut vs split (suggestions)

by sk (Curate)
on Apr 17, 2005 at 04:05 UTC ( #448571=note: print w/ replies, xml ) Need Help??


in reply to Re: cut vs split (suggestions)
in thread cut vs split (suggestions)

Thanks Everyone!

Sorry I was not very clear on couple of things. When I meant piping, yes I had the pipe inside my open in mind. I did not realize that I used a command line example where pipe means  cut -d, ... | perl ... :)

to graff's comment... I used the word portability very loosely and it is my fault... I sometimes write small utilites for my co-workers and wanted these utilities to work on other OSes...even though i could find a version of cut for windows (actually i did not know about this until after reading your post), i will not be able to install it on other's machines for policy reasons :(

I did not think about the print idea (even though it does not make a diff in the runtime), I feel such small improvements can help!!!

I agree with you all that it definitely worth the effort to have the task done in Perl as it gives enormous amount of flexibility.

Thanks again all for your wonderful comments!

cheers

SK


Comment on Re^2: cut vs split (suggestions)
Select or Download Code
Re^3: cut vs split (suggestions)
by graff (Chancellor) on Apr 17, 2005 at 04:24 UTC
    ... even though i could find a version of cut for windows ... i will not be able to install it on other's machines for policy reasons :(
    Um, do you mean that you can give your friends perl scripts to run, but you can't give them a "cut.exe" file? That's some wierd policy.
      Yes, they have activestate pre-installed :) -SK

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://448571]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-11-26 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (162 votes), past polls