Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i am comlpletly new in perl and thank you for your help.i have a file
117nolasvegasnv@fitness19.com;"117nolasvegasnv" 15tofit@comcast.net;"Patrea" 1800noda@gmail.com;"1800noda" 188rivervalenj@fitness19.com;"188rivervalenj" 199pittsburghpa@fitness19.com;"199pittsburghpa" 1advocare@msn.com;"1advocare" 1mbabic@gmail.com;"Milos"
i have written this code for separating the second part but it doesnt work,please help me
#!/usr/bin/perl -w open(IN,"<file") ; while(<IN>){ if(/("/w+/")/){ print "$1\n"; }}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: separating two sententences
by dreadpiratepeter (Priest) on Sep 16, 2011 at 03:35 UTC | |
by Anonymous Monk on Sep 16, 2011 at 03:54 UTC | |
by AnomalousMonk (Archbishop) on Sep 16, 2011 at 04:34 UTC | |
by dreadpiratepeter (Priest) on Sep 16, 2011 at 04:14 UTC | |
by Anonymous Monk on Sep 16, 2011 at 04:23 UTC | |
by dreadpiratepeter (Priest) on Sep 16, 2011 at 04:30 UTC | |
|
Re: separating two sententences
by muba (Priest) on Sep 16, 2011 at 04:13 UTC | |
by Anonymous Monk on Sep 16, 2011 at 04:30 UTC | |
by AnomalousMonk (Archbishop) on Sep 16, 2011 at 04:45 UTC | |
by muba (Priest) on Sep 16, 2011 at 05:02 UTC | |
by Sinistral (Monsignor) on Sep 16, 2011 at 14:01 UTC | |
|
Re: separating two sententences
by pvaldes (Chaplain) on Sep 16, 2011 at 21:03 UTC |