APM: Use of the ampersand, "&"

don james outlawtx at cox-internet.com
Thu Sep 29 10:48:43 PDT 2005


I am learning Perl using Ellie Quigley's book, Perl by Example.

She has an example where the "&" precedes a filename.  It is used in the
following context:

open(SAVED, ">&STDOUT");

I can't seem to figure out the purpose of the "&" in from of the file name.

Can anyone help?


Don James

More information about the Austin mailing list