On Tue, Feb 28, 2017 at 3:46 PM, ToddAndMargo <toddandma...@zoho.com> wrote:
> On 02/28/2017 04:11 AM, yary wrote: > >> >> On Tue, Feb 28, 2017 at 12:53 AM, ToddAndMargo <toddandma...@zoho.com >> <mailto:toddandma...@zoho.com>> 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,`. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net