Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 chanting in the Monastery: (17)
As of 2014-07-25 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls