On 02/28/2017 12:53 PM, Brandon Allbery wrote:
On Tue, Feb 28, 2017 at 3:46 PM, ToddAndMargo <[email protected] <mailto:[email protected]>> wrote:On 02/28/2017 04:11 AM, yary wrote: On Tue, Feb 28, 2017 at 12:53 AM, ToddAndMargo <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote: sub PrintRed ( $Str ) { print color('bold'), color('red'), "$Str", color('reset'); } sub PrintGreen ( $Str ) { print color('bold'), color('green'), "$Str", color('reset'); } sub PrintBlue ( $Str ) { print color('bold'), color('blue'), "$Str", color('reset'); } You don't need the double quotes around $Str- not even in Perl5! I think I am blind, but I am not finding the extra () Doublequotes are " " not ( ). (language... bracket confusion is far too common) It's the `, "$Str",`, that can just be `, $Str,`.
Oh I get it now. I was confused () with "". The guys over on the chat line keep telling me "death to parenthesis!", so I was in the mode! :-) Thank you both for the help! -T
