Explique cada una de las conductas que siguen
b
?
DB<5> $x = "bbabab" DB<6> $x =~ m{a}g; print "match= ".$&." pos = ".pos($x) match= a pos = 3 DB<7> $x =~ m{b}g; print "match= ".$&." pos = ".pos($x) match= b pos = 4 DB<8> $x =~ m{c}g; print "match= ".$&." pos = ".pos($x) Use of uninitialized value in concatenation (.) DB<18> $x =~ m{b}g; print "match= ".$&." pos = ".pos($x) match= b pos = 1
b
?
DB<23> $x = "bbabab" DB<24> $x =~ m{a}g; print "match= ".$&." pos = ".pos($x) match= a pos = 3 DB<25> $x =~ m{b}g; print "match= ".$&." pos = ".pos($x) match= b pos = 4 DB<26> $x =~ m{c}gc DB<27> $x =~ m{b}g; print "match= ".$&." pos = ".pos($x) match= b pos = 6
DB<3> $x = "bcbabab" DB<4> $x =~ m{b}gc; print "match= ".$&." pos = ".pos($x) match= b pos = 1 DB<5> $x =~ m{a}gc; print "match= ".$&." pos = ".pos($x) match= a pos = 4 DB<6> $x = "bcbabab" DB<7> $x =~ m{b}gc; print "match= ".$&." pos = ".pos($x) match= b pos = 1 DB<8> $x =~ m{\Ga}gc; print "match= ".$&." pos = ".pos($x) Use of uninitialized value in concatenation match= pos = 1