perl programing
im not sure if im in the right forum for this but anyhooo
how do i find the shabang line when programing in perl.. |
Do you want to find all lines with #! or do you need to know how to determine what will be used as the shebang for a perl script?
|
The shabang is by definition the first line of the file.
|
neil i need to know how to determine what will be used as the shebang for a perl script.. which is the 1st line in the actualy program...
|
Use
Code:
which perl Code:
#!/usr/bin/perl perl -w |
do i type that ina terminal windown??
|
all done mate cheers.... wooho made me 1st lil program inalll.....
|
Quote:
Code:
neil@OpenSuse:~> which perl |
All times are GMT -5. The time now is 10:43 PM. |