Newbie Perl Question
- From: rodbandkimb@xxxxxxx (Rod Burgess)
- Date: Mon, 17 Jul 2006 11:59:31 -0600
I am new to the Perl world and am trying to learn it. A coworker tells me
that Perl will not work for what I am trying to do however, I think Perl
would be a great tool to use and I feel this coworker is wrong.
I have a file that contains several lines all as below:
DR03555{tab} 45600062888{tab} 00008FLAT WASHER
DR03555{tab} 228765329{tab} 00001GASKET
The meaning of the file is
DR03555 = order number
45600062888 = part number
00008 = quantity
FLAT WASHER = Description
The lines all begin with the prefex DR I would like to read this file and
produce the following output:
45600062888;8;FLAT WASHER
228765329;1;GASKET
basiclly I need a file that lists the following: Part#;Quantity;Description
Is this possible with Perl?
.
- Follow-Ups:
- Re: Newbie Perl Question
- From: Rob Dixon
- Re: Newbie Perl Question
- From: Paul Lalli
- Re: Newbie Perl Question
- Prev by Date: Newbie Perl Question
- Next by Date: Re: prune function to skip path
- Previous by thread: Re: Newbie Perl Question
- Next by thread: Re: Newbie Perl Question
- Index(es):
Relevant Pages
|
|