Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 ( #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
Node Status?
node history
Node Type: note [id://184639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2021-04-14 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?