No such thing as a small change | |
PerlMonks |
Assigning printf to a variableby viffer (Beadle) |
on Oct 19, 2021 at 13:53 UTC ( [id://11137725]=perlquestion: print w/replies, xml ) | Need Help?? |
viffer has asked for the wisdom of the Perl Monks concerning the following question:
<grovel>Hi wonderful smart people </end grovel>
Hopefully this makes sense
printf "Triplet_Values = <hex: %*v2.2X>\n", ' ', $data;
What I want to do is assign it to a variable and write that variable to a log file, or pass that variable back to the calling routine But all the apostrophes are making it beyond my capabilities. Any help gratefully received.
Back to
Seekers of Perl Wisdom
|
|