[Israel.pm] numbers extract

Ernst, Yehuda yernst at nds.com
Thu Jun 8 00:55:34 PDT 2006


-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On Behalf Of Yuval Yaari
Sent: Thursday, June 08, 2006 11:42 AM
To: Perl in Israel
Subject: Re: [Israel.pm] numbers extract

Ernst, Yehuda wrote:
> i want to extract the XXXXX into an array 
I totally missed the "into an array" part, sorry.
So it's even easier:
my @array = $file =~ m/(?<==)(\d+)/g;


Perl mailing list
Perl at perl.org.il
This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.

More information about the Perl mailing list