Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Help with XML::Twig::Gedcom

by buttroast (Scribe)
on Oct 18, 2004 at 16:36 UTC ( [id://400212]=note: print w/replies, xml ) Need Help??


in reply to Re: Help with XML::Twig::Gedcom
in thread Help with XML::Twig::Gedcom

Michael,

I made the changes you mentioned, and now I get the following error:

Can't modify string in scalar assignment at /home/tiffanya/public_html/cgi-bin/modules/XML/Twig/Gedcom.pm line 94, near "} }"

Also, should the %hash variable have our scope and be used in place of all of my $self variables?

Thanks buttroast

Replies are listed 'Best First'.
Re^3: Help with XML::Twig::Gedcom
by mirod (Canon) on Oct 18, 2004 at 16:51 UTC

    I don't know what argument you are trying to pass to the handler, so I just put one at random, you will have to replace %hash by your own, there is nothing magic about it. It you need to pass an object, then pass it.

    Using our on the other end would probably defeat the purpose of passing the variable as a parameter.

      Alright, I figured it out. I didn't realize that when you use the ->, it automatically sends the object reference as the first variable in @_. I got it working and really cleaned it up. Thanks for your help!
      Thanks buttroast

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-26 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found