Don't use 'print' in your inner code, or the results will not be what you expect.print <<"BLAH"; This is the start of it... @{[ evaluated_code($blah) ]} This is the end of it. BLAH sub evaluated_code { if ($blah == $blah) { return $blah } }
stephen
In reply to Re: Working with Variables
by stephen
in thread Working with Variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |