kpkavitha has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to open the file which is exists in subversion. It is hyperlink. I tried in the following way. my $fileName= "http://<domain>/test2.txt"; open (FILE,"< $fileName")||die("Error: Can't open file $fileName for reading"); my $file=""; while (<FILE>) { $file .= "$_"; } close FILE; I am getting the error like Can't open file $fileName for reading......... Please help me out on this. Thanks in advance, kavitha
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to open the file exists in web link
by CountZero (Bishop) on Feb 09, 2010 at 07:01 UTC | |
by ikegami (Patriarch) on Feb 09, 2010 at 07:09 UTC | |
by CountZero (Bishop) on Feb 09, 2010 at 07:14 UTC | |
by ikegami (Patriarch) on Feb 09, 2010 at 07:47 UTC | |
|
Re: How to open the file exists in web link
by ahmad (Hermit) on Feb 09, 2010 at 07:09 UTC | |
|
Re: How to open the file exists in web link
by Anonymous Monk on Feb 09, 2010 at 07:01 UTC |