Dec
22
Open the file:
#!/usr/bin/perl
print “content-type: text/html \n\n”; #The header
$FH = “filehandle”;
$FilePath = “htmlpage.html”;
open(FH, $FilePath, permissions);
or
sysopen(FH, $FileName, permission);
File permissions:
Shorthand Flags:
Entities Definition Read the rest of this entry
< or r Read Only Access
> or w Creates, Writes, and Truncates
>>or a Writes, Appends, and Creates
+< or r+ Reads and Writes
+> or w+ Reads, Writes, Creates, and Truncates
+>> or a+ Reads, Writes, Appends, and Creates