new install of Window 11 Pro
when running a perl script from command line and passing $ARGV[0]… the argument doesn’t get passed.
running: perl test.pl “one two” works fine
running: test.pl “one two” doesn’t show arguments.
Tried:
assoc .pl=PerlScript
ftype PerlScript= C:\Users\Owner\AppData\Local\activestate\cache\bin\perl.exe “%1” %*
still at cmd prompt the script will not get $ARGV[0] passed to it.
at this point… I’m at a wits end. cleared the assoc .pl and the ftype.
What do I need to do?