Re: Newbie Perl Question

2006-07-17 Thread Peter Cornelius
On Jul 17, 2006, at 11:33 AM, Maxim wrote: But I am totally frustrated in regexp part in the script: /^DR\d+.*?(\d+).*?(\d+)(.+)/ Could you please explain it? Or maybe you have a link to intelligible guide for perl regexp? perldoc perlre is a pretty detailed description of perl's regexp.

Re: Newbie Perl Question

2006-07-17 Thread Peter Hoose
Y PASTE SCRIPT==== Hope this helps! ~P - Original Message - From: "Rod Burgess" <[EMAIL PROTECTED]> To: Sent: Monday, July 17, 2006 1:59 PM Subject: Newbie Perl Question I am new to the Perl world and am trying to learn it. A coworker tells me that

Re: Newbie Perl Question

2006-07-17 Thread Rob Dixon
Rod Burgess wrote: > > 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:

Re: Newbie Perl Question

2006-07-17 Thread Maxim
Hello Rod, I am not the author of the initial message, but thanks a lot for your reply. I am trying to adopt your script to my need, and, basically, it works for me. But I am totally frustrated in regexp part in the script: /^DR\d+.*?(\d+).*?(\d+)(.+)/ Could you please explain it? Or maybe you h

Re: Newbie Perl Question

2006-07-17 Thread Todd W
""Rod Burgess"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >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

Re: Newbie Perl Question

2006-07-17 Thread Dr.Ruud
"Rod Burgess" schreef: Your Subject has no quality. Please come up with something like "convert data lines". > 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

Newbie Perl Question

2006-07-17 Thread Rod Burgess
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{t

Newbie Perl Question

2006-07-17 Thread Rod Burgess
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{t