![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Mason and $@by rkg (Hermit) |
on Jan 25, 2004 at 18:12 UTC ( #323992=perlquestion: print w/replies, xml ) | Need Help?? |
rkg has asked for the wisdom of the Perl Monks concerning the following question:
Hi. Mason scoping question. Here's a reduction that illustrates the issue: Why does this work properly (that is, the error message is sent off to the component) But this does not work properly (a blank string is sent off the component) Thanks for any insight. UPDATE Ok, since (notice the quotes) does work properly, I'm wondering if the issue is Mason, or if $@ has magic properties... is $@ a simple scalar, or something more?
Back to
Seekers of Perl Wisdom
|
|