Ravi Malghan wrote: > Hi: I writing some logs into a directory which is mounted. > >>df -k > 199.11.255.50:/vol/rawdata > 335544320 18471160 317073160 6% /actuate/rawdata > > Is there a way to check within perl if the mount point exists before I write?
if ( -e '/actuate/rawdata' ) { John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>