Ned Cunningham wrote: >Please help. > >I need to check if a files exists in the root of c. I would like to use if >else to control the response. I have tried to check the file and verify $!, >but it seems to give me a problem. > >Can anyone help? > >...... > Use -e operator: .... if(-e $file){ #do smt. } ....
-- The Power to Serve! <http://www.freebsd.org/> ........................................ : Kliment Ognianov : : Network Administrator & Developer : : ISP Networks Department : : BulInfo Ltd. : :.....................................: : ICQ #16864572, #64866894 : :.....................................: : http://www.bulinfo.net/ : :.....................................: