On Mon, Feb 13, 2012 at 9:48 PM, lina <[email protected]> wrote: > $mystring3="abacadeusagaka35"; > > if($mystring =~ m/(a.+)/g){
Here supposed to be if($mystring3 =~ m/(a.)+/) > print $1,"\n"; showed "ad" only @myarray=($mystring3 =~ m/(a.)+/); print @myarray,"\n"; also showed "ad" only, thanks, > } > > Hi, I wonder how to print the "abacad" out? > > Thanks for any suggestions, > > Best regards, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
