Hi all,

        Heres a simple one

&PrintSummary ("STDOUT", /%runset);

sub PrintSummary {
   $prtout = shift;
   print $prtout "This is a test"
}

Why doesn't this work?

I get the error 
Can't use string ("STDOUT") as a symbol ref while "strict refs" is in use at 
foo.pl line 5.

How can I get around this?
-- 

 Steven M. Klass
 Physical Design Manager

 National Semiconductor Corp
 7400 W. Detroit Street
 Suite 170
 Chandler AZ 85226

 Ph:480-753-2503
 Fax:480-705-6407

 [EMAIL PROTECTED]
 http://www.nsc.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to