8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
I am using cntrl w f for this
But now the new file is displayed in half of the screen...and the old file in the other half...
how can ichange this default behaviour ...
say for eg:80% to 1 file and remaining 20 % to the other file.... (4 Replies)
Discussion started by: dll_fpga
4 Replies
2. Ubuntu
HI All
I am newbie to Linux and Ubuntu.
In Windows there is TortoiseSvnClient that makes possible to see ( while browsing a folder) whether a file is under source control with SVN or not ( green, red balloons on top of the file and question marks etc. ).
Do you know if there is such product... (2 Replies)
Discussion started by: manustone
2 Replies
3. Solaris
Hello sir,
Can any one guide step by step way of configuration for internet browsing on solaris 10 using BSNL broadband connection in brief way about which configuartion file to edit etc.
Regards,
Amar (1 Reply)
Discussion started by: amarnathbasis8
1 Replies
4. Shell Programming and Scripting
hi mates Im new at this forums so hello :D I was wondering if it is possible to enter a web page from the shell and maybe retrieving some info from it
tnx in advance (3 Replies)
Discussion started by: smoscar_01
3 Replies
5. UNIX for Dummies Questions & Answers
Hi:
I am just searching for some opinions, not step-by-step code.
I have several clients in real estate I've built websites for and included links to a local MLS/IDX "search for properties" page(s). Visitors follow the hyperlinks to the MLS pages (leaving my server), browse a few properties... (0 Replies)
Discussion started by: caseyturton
0 Replies
6. Linux
Configured Squid2.0 on linux9. Browsing is very slow in client side. takes atleast 1min to open the page. can anybody tell me what to do
Thaks in Advance (0 Replies)
Discussion started by: teenasuresh
0 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi Mods,
Next Thread link available at the bottom, doesn't seem to be working accurately during a search, it goes to nextnewest thread relative to the thread we are viewing. Hope this can be fixed.
Regards,
Tayyab (4 Replies)
Discussion started by: tayyabq8
4 Replies
8. UNIX for Dummies Questions & Answers
How do i prevent clients from browsing directory structures if there is no index.html in a directory?
For example, lets say that i dynamically create directories on in my doc root of an apache based web server. I know if i type the url and there is no index or default page in there, then apache... (1 Reply)
Discussion started by: ezekiel61
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)