in reply to Re: XML::Twig parsing Problem
in thread XML::Twig parsing Problem
Actually I have problem on one point. my($twig,$tag_name)=@_; the value of $tag_name=href so in place of $tag_name the value should be $href. for that I tried as my($twig,${$tag_name)}=@_; but it's not working...so what is the solution to do it.sub select_change { my($twig,$tag_name)=@_; if ($tag_name->att('$att_name') =~ "$att_value") { $tag_name->set_text('$tag_text'); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XML::Twig parsing Problem
by mirod (Canon) on Dec 02, 2008 at 12:38 UTC | |
by saurabh.x.pandey (Initiate) on Dec 02, 2008 at 12:58 UTC | |
by sureerat (Acolyte) on Dec 02, 2008 at 18:20 UTC |