in reply to what is bad scripting in windows based perl

Apart from the things that might be considered "bad scripting" in any other flavor of perl, my pet hate are perl scripts that are "Windows Perl Scripts" when they needent be. (I.e. they use ActiveX components or command line tools unnecessarily, when a core perl module does the same thing and is more portable).

Of course this can happen with any perl project and sometimes portability is not possible or it's not an issue. But I feel that portability is important if it's possible - you never know if you might need to run your script on another platform in the future. (But I am just as guilty as the next monk of writing platform specific code - I just try not to whenever possible)

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
  • Comment on Re: what is bad scripting in windows based perl