in reply to Picking up command line arguments with Strawberry Perl: ARGV

Your file association is broken.
"C:\...\bin\perl.exe" "%1"
but it should be
"C:\...\bin\perl.exe" "%1" %*
To fix:
>assoc .pl .pl=Perl ---- \\\\ \\\\ vvvv >ftype Perl Perl="C:\...\bin\perl.exe" "%1" -------------------------- \\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\ vvvvvvvvvvvvvvvvvvvvvvvvvv >ftype Perl="C:\...\bin\perl.exe" "%1" %* Perl="C:\...\bin\perl.exe" "%1" %*

Replies are listed 'Best First'.
Re^2: Picking up command line arguments with Strawberry Perl: ARGV
by Anonymous Monk on Jun 12, 2018 at 11:30 UTC
    This does not fix the issue.