Handle .do files that start with "#!/" to specify an explicit interpreter.

Now you can have your .do files interpreted by whatever interpreter you
want.
This commit is contained in:
Avery Pennarun 2011-01-01 22:00:14 -08:00
commit f641e52e3b
7 changed files with 38 additions and 11 deletions

3
t/nonshelltest.do Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env perl
$a="perly";
print "hello $a world\n";