Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl Dead (Again). tie() Burns Corpse. Incommpotent Monk Assists Sacrilage. News At Eleven.

by sauoq (Abbot)
on Jul 23, 2002 at 22:50 UTC ( [id://184639]=note: print w/replies, xml ) Need Help??


in reply to Perl Dead (Again). tie() Burns Corpse. Incommpotent Monk Assists Sacrilage. News At Eleven.

After fixing several typos ( '[' instead of '{' in two places, 'sun FETCH' instead of 'sub FETCH', a missing single quote around OVERLOAD, and a \n in single quotes instead of doubles) it ran on a Solaris 5.7 box without crashing. It printed exactly what I would expect.

Speak OverloadObj::Test=HASH(0x11c16c)

Why bother to include the code for OverloadObj.pm if you aren't going to exercise it at all? I can only suggest that you prepare your question better. Update: By forcing a call to OverloadObj::constructor, I've also managed to segfaul on Solaris 5.7. By making constructor() return a reference, I seem to have eliminated the segfault. I have to leave for a meeting though, so I'm done playing with this for now.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Perl Dead (Again). tie() Burns Corpse. Incommpotent Monk Assists Sacrilage. News At Eleven.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://184639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found