in reply to Re: Re: Re: Golfing Colors
in thread Golfing Colors
If /./g were in a scalar context, as in
then using $& would work as you expected. Of course, that doesn't help with the golf. :)@_="0369cf"=~/./g;while("0369cf"=~/./g){for$b(@_){print"#$&$&$b$b$_$_\ +n"for@_}} # ^^^^^^^^^^^^^^
|
---|