Re: Reg..Regular expression

2004-11-11 Thread Miguel Santinho (Simplicidade.com)
Or a shorter version :-) ### #!/usr/bin/perl -w use strict; use Text::Balanced qw(extract_quotelike extract_multiple); use Data::Dumper; my @array = (); my @strings; push @strings,extract_multiple( $_,[sub { extract_quo

Re: Reg..Regular expression

2004-11-11 Thread Miguel Santinho (Simplicidade.com)
One idea ## #!/usr/bin/perl -w use strict; use Text::Balanced qw(extract_quotelike extract_multiple); use Data::Dumper; my @array = (); my @strings; foreach my $line (@array) { push @strings, extract_multiple($

RE: Reg..Regular expression

2004-11-10 Thread arjun.mallik
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: Reg..Regular expression Hi Frnds, I need to extract a string from every line of a file which are present in a array. The string to be extracted is present

Reg..Regular expression

2004-11-10 Thread arjun.mallik
Hi Frnds, I need to extract a string from every line of a file which are present in a array. The string to be extracted is present in between double quotes. I am using below code and it is not working. == foreach $line2 (@objects) { chomp($line2); <--- To