Previous Top


The Classic I/O Model as implemented in perl code.

Note, we indicate input with a '<' and output with a '>' (borrowed from shell re-direction).

For this one slide, I do manual handling of failures of "open", tacking on my own "or die". Often these days, people recommend using "autodie" instead, to get this to happen automatically... but more about "autodie" later.
Next Top

doom@kzsu.stanford.edu