> On Tue, May 26, 2020, 09:45 ToddAndMargo via perl6-users
> <perl6-us...@perl.org <mailto:perl6-us...@perl.org>> wrote:
>
> HI All,
>
> I am missing something here:
>
>
> 154: # figure out the label
> 155: say %CommandLine<backup_path>;
> 156: if "%CommandLine<backup_path>".starts-with( "[" ) &&
> 157: "%CommandLine<backup_path>".contains( "]" ) {
>
>
> BACKUP:\MyDocsBackup\backup1
> Cannot resolve caller index(Str:U: Str:D); none of these
> signatures match:
> (List:D: Cool:D $needle, *%_)
> (Cool:D: Cool:D $needle, :i(:$ignorecase)!,
> :m(:$ignoremark), *%_
> --> Int:D)
> (Cool:D: Cool:D $needle, :m(:$ignoremark)!, *%_ --> Int:D)
> (Cool:D: Cool:D $needle, *%_ --> Int:D)
> (Cool:D: Cool:D $needle, Cool:D $pos, :i(:$ignorecase)!,
> :m(:$ignoremark), *%_ --> Int:D)
> (Cool:D: Cool:D $needle, Cool:D $pos, :m(:$ignoremark)!,
> *%_ --> Int:D)
> (Cool:D: Cool:D $needle, Cool:D $pos, *%_ --> Int:D)
> (Str:D: Str:D $needle, :i(:$ignorecase)!,
> :m(:$ignoremark), *%_ -->
> Int:D)
> (Str:D: Str:D $needle, Int:D $pos, :i(:$ignorecase)!,
> :m(:$ignoremark), *%_ --> Int:D)
> (Str:D: @needles, :i(:$ignorecase)!, :m(:$ignoremark), *%_
> --> Int:D)
> (Str:D: Str:D $needle, :m(:$ignoremark)!, *%_ --> Int:D)
> (Str:D: Str:D $needle, Int:D $pos, :m(:$ignoremark)!, *%_
> --> Int:D)
> (Str:D: @needles, :m(:$ignoremark)!, *%_ --> Int:D)
> (Str:D: Str:D $needle, *%_ --> Int:D)
> (Str:D: Str:D $needle, Int:D $pos, *%_ --> Int:D)
> (Str:D: @needles, *%_ --> Int:D)
> in sub GatherOptions at CobianWrapper.pl6 line 156
> in block <unit> at CobianWrapper.pl6 line 390
On 2020-05-25 23:58, Veesh Goldman wrote:
Actually, in my tests it works fine. You have to show more code.
On Tue, May 26, 2020, 09:49 Veesh Goldman <rabbive...@gmail.com
<mailto:rabbive...@gmail.com>> wrote:
I would guess it's because you interpolated your variables into a
string. Try it without the quotes.
To be more helpful, I'd need a MWE.
I originally did not have the quotes in it. Removing the
again seems to get past the error. I must be gettng tired.
Thank you for the assist. It was afraid of you!
:-)