Hi, I have a function which looks something like:
sub foo_bar { ${$_[0]} = new foo_bar ( address => $_[1], sudo => $_[3]', id => $_[0] . '_' . $_[2], ); sleep 8; } When the code is executed, I get an error *Can't use string ("some") as a SCALAR ref while "strict refs" * This is resolved using - *no strict 'refs*'; Do we need to always use the above while using Perl variable indirection - ${$_[0]} Parag