Files, Mail
-
You can use Perl to write to a file on the server, or generate an e-mail.
-
You can save user data in a file, and access it the next time the user
logs in.
-
Or, you can have Perl generate an HTML page. When
did we do this in class?
-
First, you open the file. Then, writing to the file is similar to
writing to a web page.
-
Generating an e-mail is similar to writing to a file. You open it
much the same way, and then write your message.
Opening a File
Home