Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XML::Simple - Invalid file content

by ELISHEVA (Prior)
on Sep 22, 2009 at 09:52 UTC ( #796699=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ref;
    eval {
    ...
         || "Something bad happened, but I don't know what!";
      print STDERR "Invalid content in file: $@";
    }
    
  2. or download this
    sub processContent {
      # do initial processing ...
    ...
      # with eval {...} or do {...} as needed ....
      return 1; #SUCCESS!
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2015-07-31 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls