APM: Use of the ampersand, "&"

Taylor Carpenter taylor at codecafe.com
Thu Sep 29 10:54:28 PDT 2005


don james wrote:
> She has an example where the "&" precedes a filename.  It is used in the
> following context:
> 
> open(SAVED, ">&STDOUT");

That is for duping the file handle.  See dup(2) and perldoc -f open.

Taylor


More information about the Austin mailing list