On Tue, Jul 15, 2014 at 11:16 AM, MAX PUX <isleof...@gmail.com> wrote:

> I expected this output:
> website
> ForeignAssistance
> ForeignAssistanceRow
> AssistanceType
> RecipientCountry
> ProgramName
>
> but the output was:
>
> └website┐
>
> └ForeignAssistance┐
>
> └ForeignAssistanceRow┐
>

$/[0] is a Match object, which is being "visualized" by `say` instead of
simple stringification, as it can have submatches, has interpretations as
boolean and number, etc. You can force conversion to a string with `.Str`
suffix or prefix `~`, or by using it as a string (e.g. concatenation with
another string).

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to