8 More Discussions You Might Find Interesting
1. AIX
Old AS/400 guy here now administering an AIX system. We have an application that runs on 3151 emulator. Is it possible via an program or other to run a 3151 session in a web browser?
I would like to have some of my user be able to work from home without having to install an emulation program, and... (1 Reply)
Discussion started by: jeveretts
1 Replies
2. UNIX for Dummies Questions & Answers
To practice SQL, there is a very good website called www.sqlfiddle.com
no need of installing any external software, it can do almost anything in PL/SQL and Oracle.
In a similar manner, is there a good website where i can practice Unix commands on a broswer?
I mean, it should be able to execute... (1 Reply)
Discussion started by: Manjunath B
1 Replies
3. Web Development
OK, please vote on your favorite web browser and comment why!
Only currently supported browers please!
Thanks.
PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
Discussion started by: Neo
61 Replies
4. What is on Your Mind?
Hello,
Have you all noticed that the Dillo web browser always reports bugs just about on every web page. Richard Stallman's Personal Page
However some, but not many have none.
cheers (2 Replies)
Discussion started by: nigelc
2 Replies
5. Solaris
On clicking on my WEB BROWSER . no window is appearing , only a dialog box appearing with named "ALERT" any nothing else.
What is browser package name , which is by default in Solaris 10 (3 Replies)
Discussion started by: kush singh
3 Replies
6. Solaris
I am working in solaris 9 and i want to work with web-browser(netscape).
but when I am openning it,it shows the message --
An error occurred reading the startup configuration file.Please contact ur administrator./.netscape/preferences.js,line 66:unterminated string literal.t,127.0.0.1
please... (3 Replies)
Discussion started by: smartgupta
3 Replies
7. Linux
hi experts,
i'm running red hat linux, consider there's no visual interface, no X server...
actually there is one but it's written in Python!
what i need is to intall a decent web browser on it! is it possible? and i only have abt 100 MBs of free disk space... (1 Reply)
Discussion started by: elzalem
1 Replies
8. UNIX for Dummies Questions & Answers
Hi there all
I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10.
If you know where I can get these free via FTP, please contact me as soon as possible!!
Thanks,
Mark (1 Reply)
Discussion started by: mleathers
1 Replies
Web::Simple::Deployment(3pm) User Contributed Perl Documentation Web::Simple::Deployment(3pm)
NAME
Web::Simple::Deployment - various deployment options
DESCRIPTION
This file documents common deployment methods for Web::Simple. If you feel one is missing, please ask in the IRC channel and we'll work
with you to add it.
CGI
The most basic deployment option is as a CGI script loading and running your Web::Simple-module:
#!/usr/bin/env perl
use Your::Web::Simple::App;
Your::Web::Simple::App->run_if_script;
Save that as script.cgi and your web server will handle it correctly.
Plack-Server
This works in with exactly the same code as CGI deployment. However instead of letting your web server load script.cgi, you run this on the
command line:
plackup script.cgi
Self-contained CGI
Sometimes your app is so small that you have only one or two tiny classes that you want to run as a CGI script. Web::Simple offers a
helpful mechanism to achieve that.
#!/usr/bin/env perl
use Web::Simple 'HelloWorld'; # enables strictures and warnings for the file
# additionally, HelloWorld is upgraded to a
# Web::Simple application
{
package HelloWorld;
sub dispatch_request {
sub (GET) {
[
200,
[ 'Content-type', 'text/plain' ],
[ 'Hello world! It is a fine ' . HelloWorld::Helper->day ]
]
},
sub () {
[ 405, [ 'Content-type', 'text/plain' ], [ 'Method not allowed' ] ]
}
}
}
{
package HelloWorld::Helper;
use DateTime;
sub day {
return DateTime->now->day_name;
}
}
HelloWorld->run_if_script;
AUTHORS
See Web::Simple for authors.
COPYRIGHT AND LICENSE
See Web::Simple for the copyright and license.
perl v5.14.2 2012-05-07 Web::Simple::Deployment(3pm)