Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Welcome to the Monastery
 
PerlMonks  

Re^2: Executable perl programs

by j1n3l0 (Pilgrim)
on Mar 23, 2008 at 19:49 UTC ( #675809=note: print w/ replies, xml ) Need Help??


in reply to Re: Executable perl programs
in thread Executable perl programs

Sorry, this is on a Linux machine. Although its the same on my Mac OS X and on Windows XP the cpan.bat file starts like this:

@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT perl -x -S %0 %* if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl if %errorlevel% == 9009 echo You do not have Perl in your PATH. if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul goto endofperl @rem '; #!perl #line 15 eval 'exec C:\strawberry\perl\bin\perl.exe -S $0 ${1+"$@"}' if $running_under_some_shell;


Smoothie, smoothie, hundre prosent naturlig!


Comment on Re^2: Executable perl programs
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2013-05-25 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (519 votes), past polls