[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-beginners
Subject:    Re: When a File Exists and is Empty
From:       "Martin G. McCormick" <martin () server1 ! shellworld ! net>
Date:       2014-09-11 18:04:02
Message-ID: 20140911180402.8B4152299F () server1 ! shellworld ! net
[Download RAW message or body]

Shawn H Corey writes:
> Yes, Perl does follow the shell when it comes to file tests. See
> `perldoc -f -X
> 
> Also, you can use `-s` instead of `! -z`.

	Thank you. That's very close to the test -s clause in
shell scripting.

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic