Missing PERL command-line arguments

Mar 22, 2013
Hey Forum!!!

I have been exploring TCC's useful native PERL integration. However, I have come across the odd situation where arguments that are passed to a PERL script are not 'seen' by the interpreter. '@ARGV' returns no scalars when it is parsed inside the script. If the same script is passed explicitly to PERL.EXE and an argument supplied then the script runs properly, correctly finding the argument.

I am running ActivePERL v5.16.2 and have checked the appropriate box in the OPTIONS page.

Has anyone else encountered this/discovered a solution?


Staff member
May 14, 2008
You didn't say what version of TCC you're using, but assuming a recent one, Perl script processing is handled by PerlScript (the Perl engine for Windows Scripting Host). TCC passes the script name & arguments to PerlScript; if that's not working you'll need to ask the ActivePerl / PerlScript developers what's wrong.

I'm inclined to simply remove Perl support altogether in TCC, because the Perl developers have been busily adding a series of disastrous bugs to the Windows version of Perl over the last 3-4 years, rendering the embedded Perl completely useless and the ActivePerl version only marginally viable.
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Documentation Function @DRIVE Missing in Help Lists Support 0
FreezerBurnt "Missing SETLOCAL" when initializing Visual Studio Command Prompt. Support 9
A Key Commands missing? Support 3
L How to? Shebang, nice idea but am I missing something? Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
Z Take Command deletes the next letter when I insert a missing letter ? Support 5
Joe Caverly Missing PSHELL in HELP Support 0
JohnQSmith Weird DIR output (missing lines) Support 1
dcantor Documentation SET /T: missing from heading Support 0
M Is STDVCL40.DLL missing or no longer needed? Support 4
vefatica Missing DLL Support 21
E Fixed SHRALIAS doesn't work / SHRALIAS.EXE is missing in v20.11.35 Support 2
vefatica Fixed Help @FUNCTION, missing paragraph Support 8
vefatica Missing post and security error Support 4
Roedy missing English.dll, failed install Support 2
D MSVCP140.dll is missing Support 5
C WAD Logging missing Support 19
H Fixed ... MSVCR120.dll is missing from your system ... Support 2
vefatica Help pages, icon missing Support 8
J The triple mystery of the missing tray icon Support 9
L Full Screen in Office 2013 theme chars missing Support 8
vefatica Build 55: ipworks9.dll missing Support 8
S How to? How do I distinguish missing source file from download error when using HTTP? Support 6
S Documentation "HELP IDE" - missing reference Support 0
vefatica Missing VirtualizerSDK32.dll Support 8
Dan Glynhampton Documentation v15 help: Missing link Support 0
Dan Glynhampton Documentation Bad Link/Missing Page in v15 help Support 0
S Missing thread Support 9
S dir for ftp connection - missing files sometimes Support 1
R CompleteAllFiles missing in option? Support 1
Joe Caverly Sort-of Missing Switch for START in Help Support 7
M How to? Missing closing quote: What am I doing wrong???? Support 7
dcantor SENDMAIL /= missing field Support 4
S DEL on FTP site : complaint about missing DESCRIPT.ION Support 1
Steve Pitts FOLDERMONITOR missing events?? Support 7
M Missing PDir option... Support 5
rnwolf can't start because ipworks8.dll is missing Support 1
thedave Newly created directories missing from TCMD Support 0
dcantor Missing help for @PIDCOMMAND[pid] Support 6
dcantor @TIMEZONE missing from help Support 4
C Rex: Missing email messages from all forums Support 7
L Vista 64 bits missing commands Support 1
vefatica Documentation TPIPE, /perl, DotMatchesNewLines Support 1
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
vefatica Embedded perl and stdout? Support 9
jbanaszczyk Non ActiveState Python/Perl Support 4
R How to? use @everything perl regex Support 2
vefatica TPIPE's /perl option? Support 1
I perl output is not visible Support 4
mikea Perl and tcc (redux) Support 7

Similar threads