print( concat( 'At the', getVar('$hop') ) ); #### $hop="\x41"; print "\x41t the $hop"; #### $hop='A'; print('At the'.$hop); #### setVar('$hop', 'A'); print( concat( 'At the', getVar('$hop') ) ); #### $hop="\\x41"; print "\x41t the $hop"; #### $hop='\x41'; print('At the'.$hop); #### setVar('$hop', '\x41'); print( concat( 'At the', getVar('$hop') ) ); #### $hop="\\x41"; print "\x41t the $hop"; s{.}{\x41}; #### $hop='\x41'; print('At the'.$hop); $_ =~ s/./A/; #### setVar('$hop', '\x41'); print( concat( 'At the', getVar('$hop') ) ); substitute( getVar('$_'), lhsRe('.'), rhsString('A') ); #### $hop="\\x41"; print "\x41t the $hop"; s{.}{\x41$hop}; #### $hop='\x41'; print('At the'.$hop); $_ =~ s/./A$hop/; #### setVar('$hop', '\x41'); print( concat( 'At the', getVar('$hop') ) ); substitute( getVar('$_'), lhsRe('.'), rhsEval(' concat( \'A\', getVar(\'$hop\') ); ' ) ); #### $hop="\\x41"; print "\x41t the $hop"; s{.}{"\x41$hop"}e; #### $hop='\x41'; print('At the'.$hop); $_ =~ s/"./A$hop"/e; #### setVar('$hop', '\x41'); print( concat( 'At the', getVar('$hop') ) ); substitute( getVar('$_'), lhsRe('.'), rhsEval( expandBackslashed( rhsEval(' concat( \'A\', getVar(\'$hop\') ); ' ) ) ) );