in reply to -e " " returns true
I get differing results - the following prints nothing on Panther, Perl 5.8.1:
Update: Clarified code.#! /usr/bin/perl -w use strict; print "File exists.\n" if -e ' '; print "File exists.\n" if -e ' . . '; print "File exists.\n" if -e ' .. '; print "File exists.\n" if -e ' '; print "File exists.\n" if -e '. ';
|
|---|