develooper Front page | perl.perl6.users | Postings from April 2025

I need help with

Thread Next
From:
ToddAndMargo via perl6-users
Date:
April 1, 2025 08:56
Subject:
I need help with
Message ID:
[email protected]
Hi All,

Windows Server 2025 (souped up W11)

raku -v
Welcome to RakudoΓäó v2025.02.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2025.02.

https://raku.land/cpan:LEONT/Getopt::Long


I have the following run string:
raku C:\NtUtil\RLA.Backup.raku --rotates 345 --UNC_BackupPath 
\\192.168.240.10\Backup\MyDocsBackup\backup1 --debug


use Getopt::Long;  # get-options
get-options('debug' => $CommandLine.debug );

error out with
     No such method 'debug' for invocant of type 'List'

What am I doing wrong?

Many thanks,
-T


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at [email protected] | Group listing | About