Web Server Hosting Forum by BODHost
>
Support
>
PHP Forum
http://www.bodhost.com/forum/
How to run a Perl program from the Unix command line?
User Name
Remember Me?
Password
Thread Tools
Display Modes
#
1
(
permalink
)
07-11-07, 12:44
marcus_green
BOD Member
Join Date: Nov 2005
Posts: 131
How to run a Perl program from the Unix command line?
To run a Perl program from the Unix command line:
perl progname.pl
Alternatively, put this as the first line of your script:
#!/usr/bin/env perl
and run the script as /path/to/script.pl. Of course, it'll need to be executable first, so chmod 755 script.pl (under Unix).
#
2
(
permalink
)
07-12-07, 05:39
linux tech
BOD Member
Join Date: Nov 2006
Posts: 271
You can also try the following to run the program -
perl progname
./progname
progname
In case there are any errors, you can run the following -
perl -w progname
In order to run a program with a debugger, you can run the following -
perl -d progname
#
3
(
permalink
)
07-14-07, 16:31
taslayer
BOD Member
Join Date: Jul 2007
Posts: 296
perl dgjfj/yhguk/dfrty.pl
#
4
(
permalink
)
07-16-07, 07:35
linux tech
BOD Member
Join Date: Nov 2006
Posts: 271
Yes, we can implement that too. ;)
#
5
(
permalink
)
07-16-07, 18:19
taslayer
BOD Member
Join Date: Jul 2007
Posts: 296
yups i should make a phpshell that like is gui
#
6
(
permalink
)
07-17-07, 11:41
linux tech
BOD Member
Join Date: Nov 2006
Posts: 271
post in some, I also need to check them out. I have some scripts too, that i will provide it to you.
«
the reason of "directory name is invalid"
|
my server status script
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
Off
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Sales
Hosting Services
Web Hosting Offers
Hosting Pre-Sales Forum
Customer Testimonials
Hosting Polls
Support
Network Status
Tutorials and Documentation
Control Panel Forum
PHP Forum
vps hosting
MySQL Issues.
Dedicated hosting
Linux Server Hosting
Windows Dedicated Server
Services
ECommerce Forum
General Discussion
Introduction
General Discussion Forum
All times are GMT -6. The time now is
02:20
.
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by
vBSEO
3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.
-- Default Style
-- Soness Fluid
Web Server Hosting
-
Contact Us
- -
Members
-
Register
-
Calendar
-
Search
-
FAQ