in reply to Re^2: Need a quick file check/checkout script if anyone has a moment. :)
in thread Need a quick file check/checkout script if anyone has a moment. :)

you need to set the $path variable to the path of the file you want to test. So in your case:
use strict; use warnings; use perl::net::Utils; my $path ='\perl\net\Utils.pm'; if (-e $path) { print "$path exists\n"; } #more code here
si_lence
  • Comment on Re^3: Need a quick file check/checkout script if anyone has a moment. :)
  • Download Code

Replies are listed 'Best First'.
Re^4: Need a quick file check/checkout script if anyone has a moment. :)
by Seventh (Beadle) on Sep 30, 2004 at 16:07 UTC
    Aha! That worked, thank you very much!

    Now if I can figure out how to check the file itself and how to check it out, I'm in business! :)