in reply to A wrapper script for tmpwatch in Linux written in Perl
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.$system->{host}->{$host}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A wrapper script for tmpwatch in Linux written in Perl
by wishartz (Beadle) on Jul 03, 2007 at 12:14 UTC |
In Section
Seekers of Perl Wisdom