in reply to Re^2: Calling package function returns 1, not data from function
in thread Calling package function returns 1, not data from function
Nothing else should be changed. Well, ok, one thing.sub latest { my $late = `ssh root\@10.10.21.15 'cat /usr/local/LATEST_VULN'`; chomp($late); return $late; }
should be changed toprint $lat;
print "$lat\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Calling package function returns 1, not data from function
by kapoor (Novice) on Dec 28, 2009 at 23:00 UTC |