"John W. Krahn" wrote:
>
> Chris Hurt wrote:
> >
> > Hi all;
>
> Hello,
>
> > Got a newbie question for you. I have a number of exactly 10 digits
> > (2001090701) and I want to be able to read it from a file, cut the first 8
> > digits from the last two digits and put each into a variable (for
Chris Hurt wrote:
>
> Hi all;
Hello,
> Got a newbie question for you. I have a number of exactly 10 digits
> (2001090701) and I want to be able to read it from a file, cut the first 8
> digits from the last two digits and put each into a variable (for comparison
> and addition). I would do it
d stores the results (due to the parens) in $1 and $2.
/\/\ark
-Original Message-
From: HURT, CHRIS [Non-Pharmacia/1000] [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:29 AM
To: '[EMAIL PROTECTED]'
Subject: Perl variable - cuts
Imp
Hi all;
Got a newbie question for you. I have a number of exactly 10 digits
(2001090701) and I want to be able to read it from a file, cut the first 8
digits from the last two digits and put each into a variable (for comparison
and addition). I would do it in the korn shell like this:
NUM=`gre