[tex-live] ctan-o-mat in 2018 pretest
Reinhard Kotucha
reinhard.kotucha at web.de
Sat Apr 14 02:07:30 CEST 2018
On 2018-04-14 at 01:10:09 +0200, Reinhard Kotucha wrote:
> BTW, the preferred shebang line (in ctan-o-mat.pl) is
>
> #!/usr/bin/env perl
Please note that env assumes that everything before EOL is one
argument, hence if you say
#!/usr/bin/env perl -w
it looks for a program "perl -w". In order to turn warnings on, use
$^W=1;
in your script or, if desired,
BEGIN {
$^W=1;
}
The latter turns warnings on before the script is compiled, otherwise
warnings are issued only at run-time.
Regards,
Reinhad
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
------------------------------------------------------------------
More information about the tex-live
mailing list