
iphone
User
Aug 23, 2010, 2:08 PM
Post #11 of 14
(2711 views)
|
Re: [BillKSmith] How to grep unique values?
[In reply to]
|
Can't Post
|
|
The below code works
my $file = 'E:\code\orphan_script\p4\file.ntp open my $file1, '<', $file or die "could not open '$file' $!"; but,if I change the code to below,throws the following error.I am running this script from E:\code\orphan_script folder
my $file = '/p4/file.ntp'; open my $file1, '<', $file or die "could not open '$file' $!"; ERROR:- could not open '/p4/file.ntp' No such file or directory at orphan.pl line 11. In the first case, the exact message is important. If you cannot understand it, ask here. It probably has something to do with the name or privileges of the file or its directory. It may help if you tell us your operating system and show proof of the names and privileges. [[I am using WinXP and am running it local hard drive shouldn't have privileges issues]]
(This post was edited by iphone on Aug 23, 2010, 3:22 PM)
|