Answer Posted / raj
Files are opened using the open and sysopen function.
Either function may be passed up to 4 arguments, the first
is always the file handle thenfile name also known as a URL
or filepath, flags, and finally any permissions to be
granted to this file.
$FH = "filehandle";
$FilePath = "myhtml.html";
open(FH, $FilePath, permissions);
or
sysopen(FH, $FileName, permission);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
You want to download the contents of a url with perl. How would you do that?
Explain goto name?
What is grep used for in perl?
What are the arguements we normally use for perl interpreter?
How to convert arrays into a string in perl?
What package you use to create a windows services?
Explain lists in perl?
What is the use of -n and -p options?
What is perl dbi?
How to replace perl array elements?
how to get back up from private character editor which is saved in the format of .udf
how to extract pin_code,phone_number,year from text file using regular expressions in perl
What is perl programming?
List the files in current directory sorted by size ?
What does undef function in perl?