Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 6, 2005, 9:17 pm
rate this thread
My eval do not work. I do not know why?
system "rename _new.xml .xml *.xml";
die 'Can not change new to current data' if $@;
when no xml file exists. It should come to exception situation and print
out 'Can not change new to current data' and exit program. But it
print out the message 'No such file and directory' and go ahead to next
Re: eval not work
You are jumping to conclusions. eval works perfectly.
You just failed to read the documentation for system
perldoc -f system
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
- » FAQ 8.35 How do I close a process's filehandle without waiting for it to complete?
- — Previous thread in » PERL Discussions