Do you use strict; use warnings;?
You dereference $ref in the foreach-loop, while you certainly meant to dereference $param.
Or is this a typo that occured while posting the code?
regards,
tomte
An intellectual is someone whose mind watches itself.
-- Albert Camus
In reply to Re: A dereferencing problem
by Tomte
in thread A dereferencing problem
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |