Think about Loose Coupling | |
PerlMonks |
Re^2: Forgot variable syntax for $var = funct() or "Funct failed\n";by AnomalousMonk (Archbishop) |
on Jan 05, 2016 at 16:25 UTC ( [id://1151980]=note: print w/replies, xml ) | Need Help?? |
my $hostname = call(); $hostname //= "Can't resolve"; # Alternative solution
Or even just
Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|