Just take the warning you get literaly: You are assigning a reference to a hash to a hash-variable - either replace the braces with parenthesis or declare ret as a scalar ($ret instead of %ret) -- don't forget to modify the return statement as well in the latter case.
regards,
tomte
An intellectual is someone whose mind watches itself.
-- Albert Camus
In reply to Re^4: perl and sudo basic question
by Tomte
in thread perl and sudo basic question
by yelekeri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |