Path: utzoo!attcan!uunet!husc6!uwvax!dogie!rhesus!bin
From: bin@rhesus.primate.wisc.edu (Brain in Neutral)
Newsgroups: comp.sources.d
Subject: perl filehandle question
Message-ID: <336@rhesus.primate.wisc.edu>
Date: 5 Jul 88 18:26:19 GMT
Organization: UW-Madison Primate Center
Lines: 18


If I have a perl subroutine such as

sub x
{
local ($fileh);		# file handle

	...
}

how do I reference the file handle?  E.g., should I say

	open ($fileh, "/tmp/junk");
or
	open (fileh, "/tmp/junk");

I presume the latter from the documentation, but it seems inconsistent
to have to declare it with the dollar sign and use it without...