On 2020-05-26 17:13, ToddAndMargo via perl6-users wrote:
Hi All,

What in the dickens!!!!  Only `say  %Options<Path>;` works,
but only when it only has a single argument.


241: for split( "", %Options<Path> ) -> $y {say "$y = ", ord( $y ) };
242: for %Options<Path>.comb -> $y {say "$y = ", ord( $y ) };
243: say  %Options<Path>;
244: say "---->" ~ %Options<Path> ~ "<----";
245: print "-->" ~ %Options<Path> ~ "<--\n";
246: say %Options<Path>.^name;
247: say %Options<Path>.WHAT;
248: dd  %Options<Path>;
249: say %Options<Path>.ends-with( "1" );
250: say  %Options<Path>.chars;



241: & 242: no output to screen
243: A:\YourDocs\backup1
          # I did not put this blank line here
244: ----><----
245: --><--
246: Str
247: (Str)
248: Str %Options = ""
249: False           # DOES TOO END IN A ONE!!!
250: 0

I am so confused!

-T


Figured it out. %Options<Path>.comb never had anything actually in it. Why the first "say" said it did is
beyond me.

Reply via email to