Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: cut vs split (suggestions)

by cees (Curate)
on Apr 18, 2005 at 03:51 UTC ( #448726=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<>) {
        $col = 15;
    ...
        print substr($_, 0, $index), $/;
        $index = 0;
    }
    
  2. or download this
    $ time perl cut.pl numbers.csv > /dev/null
    
    ...
    real    0m1.081s
    user    0m0.866s
    sys     0m0.042s
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://448726]
help
Chatterbox?
[shmem]: unbelievable. ergo insurance germany offers a contract: paying 1.5 euro a day over 18 years, they ensure a payback of 7.501 euro
[shmem]: *if* there is a bonus due, they would pay 9.250
[shmem]: don't expect anything noteworthy from a countrie's elections in which such things are shrugged off.
[shmem]: otoh, hindering me from spending the money before due time is worth some fee, isn't it?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-09-19 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (222 votes). Check out past polls.

    Notices?