in reply to Re^3: perl and sudo basic question
in thread perl and sudo basic question
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.
An intellectual is someone whose mind watches itself.
-- Albert Camus