Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: -s test option returns differently in some cases

by frogsausage (Sexton)
on Oct 14, 2013 at 08:19 UTC ( #1058144=note: print w/ replies, xml ) Need Help??


in reply to Re: -s test option returns differently in some cases
in thread -s test option returns differently in some cases

Thanks for the tip. Didn't thought of printing the error message.

The error message returned on the SuSE 11/Perl 5.14.1 is "No such file or directory". At least it gives me why now. The sad thing is, if I stat the path of the file with 'ls' it gives me from your syntax (same terminal, without modifying anything) it says it can find it (correct rights, correct user and non-empty file).

File is created in my home and my home is on nfs.


Comment on Re^2: -s test option returns differently in some cases

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-09-19 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls