home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


print_header

$

mail


->print_header
([\*

fd

])
$

mail


->print_body
([\*

fd

])
$

mail


->print
([\*

fd

])

Prints the header, body, or whole message to file descriptor \*fd , which should be a reference to a glob. If the file descriptor is not given, the output is sent to STDOUT:

$mail->print(\*STDOUT);  # Print message to STDOUT