Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > execution of perl program

Reply
Thread Tools

execution of perl program

 
 
varala_kanth
Guest
Posts: n/a
 
      06-26-2004
hello friends,

iam new bie i run the perl program

with in command mode

with this following command

perl <filename>.pl

but what i need is like the c or c++

file where the output file can be executed directly not with help o
any command.

so guide me

with regards
rama kant
-
varala_kant
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      06-26-2004
varala_kanth wrote:
> iam new bie i run the perl program
> with in command mode
> with this following command
>
> perl <filename>.pl
>
> but what i need is like the c or c++
> file where the output file can be executed directly not with help of
> any command.


Unfortunately your problem description is ambiguous.

Do you want to run your Perl program without having to type "perl" at the
beginning of the command line?
That's simple. However how to do it (shebang line, file association, ...)
depends on your OS resp. the command shell you are using.

Or do you want to compile your Perl program and run it without help of the
interpreter?
In that case please see the FAQ "perldoc -q compile":
"How can I compile my Perl program into byte code or C?"

jue


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
private data stashed in local/global execution context of PyEval_EvalCode disappears down the execution stack sndive@gmail.com Python 9 11-14-2007 10:31 PM
doubt in FLI Program and order of execution priya VHDL 0 10-03-2005 12:55 PM
Perl and waiting for execution of external program jonas.andersson@rocketmail.com Perl Misc 11 01-21-2005 08:23 PM
perl -d interfering with program execution? Pat Deegan Perl Misc 9 04-27-2004 10:22 AM
perl -d interfering with program execution? Pat Deegan Perl 3 04-22-2004 08:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57