in reply to use the cut function in a script

There is a nice node from cdarke for equivalences between unix tools/commands and Perl functions. You may find the reading interesting

citromatik