in reply to Re: how to get value of print command
in thread how to get value of print command
my $result = sprintf "$var hello world ";Don't do that. Not only is it a useless use of sprintf, but it is also an abuse of sprintf, whose 1st argument should be a format specification. This does the same thing:
my $result = "$var hello world ";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: how to get value of print command
by k_manimuthu (Monk) on May 14, 2010 at 11:13 UTC |
In Section
Seekers of Perl Wisdom