On Wednesday 28 September 2005 20:55, [EMAIL PROTECTED] wrote: > I have a lot of experience in programming, but WHAT command do I use > for checking if a file exists... Have searched google, but can't seem > to find any good answers... if (-e "/tmp/myfile") { print "File! :)\n"; } else { print "No file! :(\n"; }
-- Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]> Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>