Please let me know.my $directory = "folder(1)"; my $file = "my log file.log"; my $files = ($directory, "\", $file); print $files; # .\\$directory\\$file open INPUT, "<.\\$files" or die "Can't open 'INPUT': $!"; my @lines = <INPUT>; print "I have access to the folder\n"; close INPUT;
In reply to Access given folder to parse a file by ArifS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |