Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 ./ +line 87. Global symbol "$photo" requires explicit package name at ./ li +ne 88.
(your line numbers may vary)

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-10-23 03:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.