- or download this
e Evaluate the right side as an expression.
ee Evaluate the right side as a string then eval the result.
- or download this
DB<135> $_='x'
=> "x"
...
DB<139> s/x/$a.$a/ree # -> eval "\$b\$b" not eval "\$b.\$b"
Scalar found where operator expected at (eval 106)[(eval 105)[multi_pe
+rl5db.pl:644]:2] line 1, near "$b$b" ...
- or download this
DB<140> s/x/$a.'.'.$a/ree # -> eval "\$b.\$b"
=> "BB"
...
DB<143> eval "\$b.'.'.\$b" # what perldoc predicts for line 140
=> "B.B"