22 while (<IF>) { 23 if (/$LOCTAG/i) { 24 ($curloc) = /VALUE="([^"]+)"\s*\w*>/i; 25 $location .= "${curloc}::"; 26 } 27 28 if (/$TYPETAG/i) { 29 ($curtype) = /VALUE="([^"]+)">/i; 30 $jobtype .= "${curtype}::"; 31 } 32 } 33 close(IF); 34 $location =~ s/::$//; 35 $jobtype =~ s/::$//; with Perl 5.6.1 Thanks
- Re: what's wrong in systax Anshu Anshu
- Re: what's wrong in systax John Joseph Trammell
- Re: what's wrong in systax Jeff Pinyan
- Re: what's wrong in systax Jeff Pinyan
- Re: what's wrong in systax Anshu Anshu
- Re: what's wrong in systax Jos I Boumans
- RE: what's wrong in systax King, Jason