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


Write

$

cons


->Write(


string


)

Writes string on the console, using the current attribute, which you can set with Attr , and advancing the cursor as needed. This isn't so different from Perl's print statement. Returns the number of characters written, or undef on error.