Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 taking refuge in the Monastery: (8)
As of 2016-08-31 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (433 votes). Check out past polls.