CUT simulation script - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

CUT simulation script

smasher40smasher40 Posts: 5Member
Hi guys

I'm learning PERL 3 classes so far, and I'm stuck in a script i have to do which has to do the following:

The main function is doing the same as the CUT command in the linux bash, but the user has to provide the -f and -d option, and applied it to a file given as an argument to the script itself.

I already managed to pass the file contents to an array, but i can't get to the part where it must split the file on the right column, by the given delimeter.

can somebody help me on this

Thnks a lot

Sign In or Register to comment.