
davorg
Thaumaturge
/ Moderator
Jan 22, 2007, 5:21 AM
Post #2 of 6
(488 views)
|
|
Re: [rohant] $@ gives SCALAR(0x...)
[In reply to]
|
Can't Post
|
|
You're right that $@ will normally contain a simple scalar value. You're also right that what you are seeing is probably a reference to a scalar. So the question is how are you getting a reference into $@. And that's impossible to answer without seeing some code. Is it possible to give us a short (10 - 20 lines) program that demostrates this problem? -- Dave Cross, Perl Hacker, Trainer and Writer http://www.dave.org.uk/ Get more help at Perl Monks
|