Do you know where your variables are? | |
PerlMonks |
Re: A wrapper script for tmpwatch in Linux written in Perlby bloonix (Monk) |
on Jul 03, 2007 at 11:18 UTC ( [id://624640]=note: print w/replies, xml ) | Need Help?? |
system "/usr/bin/ssh $system->{host}#this part doesn't work, o+nly brings back reference";of course! $system->{host} is a hash reference! you need to access the hostname.
In Section
Seekers of Perl Wisdom
|
|