Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: XML Parse, Spanish Elements

by serf (Chaplain)
on Feb 10, 2006 at 20:12 UTC ( #529451=note: print w/ replies, xml ) Need Help??


in reply to XML Parse, Spanish Elements

Firstly I would recommend adding:

use strict; use warnings;
to the top of your code and then go through and fix the errors it identifies.

You should normally use strict & warnings in all scripts unless they're one-liners or if there's a good reason not to.

Use strict would show you that these two scalars are not being defined:

Global symbol "$caption" requires explicit package name at ./xml_p.pl +line 87. Global symbol "$photo" requires explicit package name at ./xml_p.pl li +ne 88.
(your line numbers may vary)

Update: wow! it's been stripped down! well done, much easier to debug for you!


Comment on Re: XML Parse, Spanish Elements
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-09-30 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (384 votes), past polls