Monday, August 8, 2011

Perl programming help?

If you read carefully, you answered your own question. Notice that when you say it works fine, there is a slash at the front of the path (an absolute path). Notice that when you say it fails, there is NO slash in front (a relative path). You should have die $!, not $1, in order to see the actual error message.

No comments:

Post a Comment