> -----Original Message-----
> From: Jerry Preston [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 16, 2002 4:19 PM
> To: Beginners Perl
> Subject: another reg needed
> 
> 
> Hi,
> 
> I am trying to learn to do  reg's and I am not sure how to 
> break this down:
> 
> $_ = "Die,Row 0, Column 12"
> 
> What I want is the 0 and 12.  What about the text?

How about:

   ($row, $col) = /(\d+)/g;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to