> On Jun 6, 2018, at 2:16 PM, Ahmad Bilal wrote:
>
> Ok, I went over to previously answered questions under the cgi tag here on
> stackoverflow.
This message was posted to the Perl Beginners list, so you are not at
Stackoverflow any more.
>
> This seems to be the mo
Ok, I went over to previously answered questions under the cgi tag here on
stackoverflow.
This seems to be the most voted one: What is Common Gateway Interface (CGI)?
<https://stackoverflow.com/questions/2089271/what-is-common-gateway-interface-cgi>
But it still doesn't clear a few things,
ld you give an example of these warnings, and even better some
>>>> minimal
>>>> code that generates them?
>>> Something like this gives you warnings in apaches error.log:
>>>
>>>
>>> #!/usr/bin/perl
>>> #
>>> use strict;
>>
Hi,
is there a way to disable the annoying warnings about carp and cgi which
cgi programs write to the web-server's log file in a general way rather
than per program? Same goes for smartmatch warnings.
The log file is overloaded with these useless messages, which makes it
difficult to find
Greetings!
Could you give an example of these warnings, and even better some minimal
code that generates them?
Thanks,
--Brock
On Feb 13, 2016 8:19 AM, "lee" <l...@yagibdah.de> wrote:
> Hi,
>
> is there a way to disable the annoying warnings about carp and cgi w
On 02/13/2016 07:33 AM, lee wrote:
Hi,
is there a way to disable the annoying warnings about carp and cgi which
cgi programs write to the web-server's log file in a general way rather
than per program? Same goes for smartmatch warnings.
The log file is overloaded with these useless messages
use autodie;
use CGI;# qw(:standard);
[...]
The warning says that CGI will be removed from perl and that I should
install it from cpan. I don't want to install things from cpan but the
package management of the distribution to take care of things because I
don't want
Nathan Hilterbrand <noset...@cotse.net> writes:
> On 02/13/2016 07:33 AM, lee wrote:
>> Hi,
>>
>> is there a way to disable the annoying warnings about carp and cgi which
>> cgi programs write to the web-server's log file in a general way rather
>> than
paches error.log:
#!/usr/bin/perl
#
use strict;
use warnings;
use autodie;
use CGI;# qw(:standard);
[...]
The warning says that CGI will be removed from perl and that I should
install it from cpan. I don't want to install things from cpan but the
package mana
t;
use warnings;
use autodie;
use CGI;# qw(:standard);
[...]
The warning says that CGI will be removed from perl and that I should
install it from cpan. I don't want to install things from cpan but the
package management of the distribution to take care of things bec
owever, I don't like to leave something hanging.
I don't know if just Cc'ing beginners@perl.org will work? (I'm not
subscribed)
> On Fri Jan 22 22:58:28 2016, frede...@ofb.net wrote:
> > Thanks for the reply.
> >
> > I hope that a compatible version of CGI continues
Hi,
how do I arrange two (text) input fields side by side rather than one
underneath the other?
How do I automatically set the cursor into a particular field when the
form is loaded so that keyboard input is entered into that field without
the user having to select the field manually first?
--
CGI::Application.pm is version 4.5
Somehow I’ve managed to move beyond this problem. Probably because I dumped
perlbrew.
I’m now getting a time out. With traces and multiple debug statements I’m
getting to this location for the time out:
sub AUTOLOAD {
my($constname);
($constname
Doing the perlbrew thing now.
perl -MTemplate -e 1 returned nothing
But I did a sudo cpan Template and it told me it was up to date.
Hopefully this perlbrew will help things out.
thanks for the info.
On Nov 12, 2014, at 8:50 AM, John SJ Anderson
geneh...@genehack.orgmailto:geneh...@genehack.org
On Wed, Nov 12, 2014 at 9:17 AM, Patton, Billy N billy.pat...@h3net.com
wrote:
perl -MTemplate -e 1
It doesn't do anything except check that the module Template is available
via the standard include path (see (capital V):
perl -V
for the @INC array of paths) -e 1 is just a script of one char,
I’m getting is :
Can't locate object method new via package Template at
/Library/Perl/5.18/CGI/Application/Plugin/TT.pm line 60.
TT.pm snippett :
use Template 2.0;
...
# Get a Template Toolkit object. The same object
# will be returned everytime this method is called
# during a request cycle
On Nov 12, 2014, at 4:54 AM, Patton, Billy N wrote:
I’ve , mistakenly, updated to Mac OS 10.10 Yosemite.
That completely caused my app to fail in Apache 2.4.
And that's one of the many reasons I'm not updating my MacBook. ;)
You really have too try Perlbrew http://perlbrew.pl/.
On Wed, Nov 12, 2014 at 4:54 AM, Patton, Billy N billy.pat...@h3net.com wrote:
I’ve , mistakenly, updated to Mac OS 10.10 Yosemite.
That completely caused my app to fail in Apache 2.4.
Looks like it might be a version problem for TT.pm
TT.pm is really 'Template.pm'. Are you sure the Perl
I’m using WWW::Mechanize for testing my CGI.
I’m having trouble with the $mech-tick
Here’s my code :
ok($mech-form_name('cdr_format'),getting form cdr_format);
print pAllFields = . $mech-value('pAllFields') . \n;
219- ok($mech-tick('pAllFields',1), 'Setting checkbox to native CDR format
billy.pat...@h3net.com wrote:
I’m using WWW::Mechanize for testing my CGI.
I’m having trouble with the $mech-tick
Here’s my code :
ok($mech-form_name('cdr_format'),getting form cdr_format);
print pAllFields = . $mech-value('pAllFields') . \n;
219- ok($mech-tick('pAllFields',1), 'Setting
I haven't seen any PErl code with -log- like that before. I've only seen code
like that with = error(*).
-Original Message-
From: Patton, Billy billy.pat...@h3net.com
Sent: Oct 6, 2014 9:33 AM
To: beginners-cgi@perl.org beginners-cgi@perl.org
Subject: cgi and inheritance
I’ve recently
I’ve recently inherited some code that hasn’t been touched in over 5 years.
It’s all cgi and OOPerl.
I’ve ran across this one statement that I don’t understand.
$self-log-error(*)
I know the self
and I’ve traced the error to CGI::Application through inheritance.
But it’s the -log- that has me
On Mon, Oct 6, 2014 at 6:33 AM, Patton, Billy billy.pat...@h3net.com wrote:
I’ve recently inherited some code that hasn’t been touched in over 5 years.
It’s all cgi and OOPerl.
I’ve ran across this one statement that I don’t understand.
$self-log-error(*)
That's calling the 'error()' method
!
Thanks,
James.
On Thu, Jul 3, 2014 at 5:23 PM, Uri Guttman u...@stemsystems.com wrote:
On 07/03/2014 12:16 PM, James Kerwin wrote:
Hello all,
I'm currently using Perl CGI to generate a Results webpage. This
results webpage specifies unique directories generated within the script
and print
On 07/04/2014 12:41 AM, Shaji Kalidasan wrote:
Here's one way to do it
print BUTTON;
input type=button value=Open Window
onclick=window.open('http://www.example.com')
BUTTON
or:
print qq{input type=button value=Open Window
onclick=window.open('http://www.example.com')};
--
To
On 07/04/2014 07:18 AM, James Kerwin wrote:
Hello again,
Apologies for the delay. I shut my laptop in frustration for the night
yesterday.
Here is a chunk of the code:
my $html2 = '/Results.tar.gz
div style=text-align: center;button type=submitDownload
Files/button/div
p style=text-align:
Hi all,
thanks for helping James (= the original poster).
On Fri, 04 Jul 2014 11:56:05 -0400
Uri Guttman u...@stemsystems.com wrote:
On 07/04/2014 07:18 AM, James Kerwin wrote:
Hello again,
Apologies for the delay. I shut my laptop in frustration for the night
yesterday.
Here is a
Hello all,
I'm currently using Perl CGI to generate a Results webpage. This results
webpage specifies unique directories generated within the script and print
these in between the blocks of html so various download and display buttons
work.
My problem is that I'm using a button to open a file
On 07/03/2014 12:16 PM, James Kerwin wrote:
Hello all,
I'm currently using Perl CGI to generate a Results webpage. This
results webpage specifies unique directories generated within the script
and print these in between the blocks of html so various download and
display buttons work.
My
Here's one way to do it
print BUTTON;
input type=button value=Open Window onclick=window.open('
http://www.example.com')
BUTTON
On Thu, Jul 3, 2014 at 9:53 PM, Uri Guttman u...@stemsystems.com wrote:
On 07/03/2014 12:16 PM, James Kerwin wrote:
Hello all,
I'm currently using Perl CGI
Perhaps some module on which the script depends is not available/installed
on that server. But yes.. looking into the web server error log should
help.
On 28 June 2014 08:35, John SJ Anderson geneh...@genehack.org wrote:
On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl p...@surfshopcart.com wrote:
Perhaps some module on which the script depends is not available/installed on
that server. But yes.. looking into the web server error log should help.
On 28 June 2014 08:35, John SJ Anderson geneh...@genehack.org wrote:
On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl p...@surfshopcart.com
why it's acting up on one server and
not another? I'm already running with warnings and CGI::Carp, but without any
output, I'm at a loss as what to try next.
Any input would be greatly appreciated!
Thanks,
Frank
http://www.surfshopcart.com/
Setting up shop has never been easier
On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl p...@surfshopcart.com wrote:
Any input would be greatly appreciated!
Look in the web server error log.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Siegfried
use DBI;
use strict;
use warnings;
use POSIX;
use CGI qw(:standard);
use CGI::Cookie;
#my $dbh = DBI-connect(dbi:ODBC:driver=microsoft access driver
(*.mdb, *.accdb);dbq=c:\\inetpub\\wwwroot\\Nwind.accdb);
# $dbh-{LongReadLen} = 66000;
# $dbh-{LongTruncOk} = 0;
# my $stmt=SELECT * FROM
On Thu, Jun 26, 2014 at 1:04 AM, Bruce Ferrell bferr...@baywinds.org
wrote:
On 06/25/2014 09:52 PM, Bruce Ferrell wrote:
On 06/25/2014 07:53 PM, siegfr...@heintze.com wrote:
use DBI;
use strict;
use warnings;
use POSIX;
use CGI qw(:standard);
use CGI::Cookie;
#my $dbh = DBI-connect
in column one and
run it in IIS, internet explorer times out and complains about a bad
header being returned.
Can someone help me so I can incorporate DBI and microsoft access in my
web page?
Thanks
Siegfried
use DBI;
use strict;
use warnings;
use POSIX;
use CGI qw(:standard);
use CGI::Cookie;
#my
POSIX;
use CGI qw(:standard);
use CGI::Cookie;
#my $dbh = DBI-connect(dbi:ODBC:driver=microsoft access driver
(*.mdb, *.accdb);dbq=c:\\inetpub\\wwwroot\\Nwind.accdb);
# $dbh-{LongReadLen} = 66000;
# $dbh-{LongTruncOk} = 0;
# my $stmt=SELECT * FROM Customers;
# my $sth = $dbh-prepare($stmt);
# $sth
Le 18/06/2014 02:46, Goke Aruna a écrit :
When you run the scripts from the cli, what do you get on your screen?
What about Apache configuration is cgi script executable.
What permission do you have on your script?
Hope those questions can give you a guide.
Hi
thanks for the answer
configuration is cgi script executable.
What permission do you have on your script?
Hope those questions can give you a guide.
Hi
thanks for the answer
error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request
Hi,
I know nothing about perl and I have a problem with a cgi script for a
website called geneweb (genealogy stuff).
I moved from one web site to another and now the site does not work and
give me a 500 error message.
cgi-bin and a perl script work fine. Here is the script I used to test
On Jun 17, 2014, at 1:10 AM, Philippe Rousselot rousse...@rousselot.org wrote:
Hi,
I know nothing about perl and I have a problem with a cgi script for a
website called geneweb (genealogy stuff).
I moved from one web site to another and now the site does not work and give
me a 500
When you run the scripts from the cli, what do you get on your screen?
What about Apache configuration is cgi script executable.
What permission do you have on your script?
Hope those questions can give you a guide.
Regards
On Jun 17, 2014 3:00 PM, Jim Gibson j...@gibson.org wrote
Hello,
I've set up a new cloud account to get familiar with nginx and I'd like
to know if it's possible to run an older cgi perl script, and if so, how would
I go about doing that? I think I read somewhere that it could be done with
Plack, but I can't find any instructions on how
On Nov 7, 2013, at 3:22 PM, Angela Barone wrote:
Hello,
I've set up a new cloud account to get familiar with nginx and I'd like
to know if it's possible to run an older cgi perl script, and if so, how
would I go about doing that? I think I read somewhere that it could be done
Thank you.
On 1/28/2013 3:07 PM, Shawn Corey wrote:
The attached CGI is useful for determining what a script's environment
is.
I have written some CGI applications that start
with this code:
BEGIN {
my $homedir = ( getpwuid($) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path ) {
push @user_include, $homedir . '/perl' . $path
On Sun, Jan 27, 2013 at 11:30 AM, Mike Flannigan mikef...@att.net wrote:
I have written some CGI applications that start
with this code:
BEGIN {
my $homedir = ( getpwuid($) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path
On Sun, 27 Jan 2013 10:30:38 -0600
Mike Flannigan mikef...@att.net wrote:
I have written some CGI applications that start
with this code:
BEGIN {
my $homedir = ( getpwuid($) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path
Thanks so much for the quick response. I
appreciate it.
Of course I am putting this cgi file on my website
domain and running it there, so in a way it is
running on Unix.
It is running that code, but whether it is working
or not is not clear to me.
At the beginning of the code @INC is:
/usr
On Sun, 27 Jan 2013 12:30:17 -0600
Mike Flannigan mikef...@att.net wrote:
That @INC data is apparently from the website domain.
The attached CGI is useful for determining what a script's environment
is.
--
Don't stop where the ink does.
Shawn
env.cgi
Description: Binary data
-oriented/
* http://perl-begin.org/tutorials/
* http://perl-begin.org/uses/web/
Regards,
Shlomi Fish
Regards,
Kavita :-)
On Wed, Jan 9, 2013 at 6:39 PM, Manolis Tzanidakis
mtzanida...@gmail.comwrote:
On Wed (09/01/13), kavita kulkarni wrote:
Hello,
I am having a cgi script
On Thu (10/01/13), kavita kulkarni wrote:
Hello,
Is there any simple documentation/book/link besides mojo-lite/CPAN online
documentation that will help me to understand the OO Perl programming and
web based perl programming?
I am naive in Perl OO progamming and have to get quickly started
Hello,
I am having a cgi script to present DB monitoring results.
Now, I am thinking about migrating that script into mojo (Mojolocious) and
I have below queries in my mind:
1. What's advantage of using mojo over cgi?
2. Is mojolocious ready to deploy in production? if so, which version goes
On Wed (09/01/13), kavita kulkarni wrote:
Hello,
I am having a cgi script to present DB monitoring results.
Now, I am thinking about migrating that script into mojo (Mojolocious) and
I have below queries in my mind:
1. What's advantage of using mojo over cgi?
2. Is mojolocious ready
Thanks Manolis for your reply.
However, I am not supposed to upgrade my perl.
Regards,
Kavita :-)
On Wed, Jan 9, 2013 at 6:39 PM, Manolis Tzanidakis mtzanida...@gmail.comwrote:
On Wed (09/01/13), kavita kulkarni wrote:
Hello,
I am having a cgi script to present DB monitoring results
,
Kavita :-)
On Wed, Jan 9, 2013 at 6:39 PM, Manolis Tzanidakis mtzanida...@gmail.comwrote:
On Wed (09/01/13), kavita kulkarni wrote:
Hello,
I am having a cgi script to present DB monitoring results.
Now, I am thinking about migrating that script into mojo (Mojolocious)
and
I have below
Thanks all of you for your suggestions, yesterday late evening I figured it
out about returning \r\n . I also checked after setting input record
separator($/) variable to \r\n which was also working.
I like the idea about setting binmode.
Thanks again.
--
Praveen Kumar
Hi folks,
Check out below code, is this as expected or kind of bug?
code
use strict;
use warnings;
use CGI;
my $product_id=484f2faee9334559a1a72b4cdc056818;
print Enter NT Login ID : ;
chomp (my $user = STDIN);#praveenku...@gmail.com
print Enter NT Password : ;
chomp (my $password
Hi Praveen,
On Fri, 26 Oct 2012 15:57:36 +0530
Praveen Kumar kumarpraveen.nit...@gmail.com wrote:
Hi folks,
Check out below code, is this as expected or kind of bug?
code
use strict;
use warnings;
use CGI;
my $product_id=484f2faee9334559a1a72b4cdc056818;
print Enter NT Login ID
On Fri, Oct 26, 2012 at 6:27 AM, Praveen Kumar
kumarpraveen.nit...@gmail.com wrote:
Hi folks,
Check out below code, is this as expected or kind of bug?
code
use strict;
use warnings;
use CGI;
my $product_id=484f2faee9334559a1a72b4cdc056818;
print Enter NT Login ID : ;
chomp (my $user
=55540
Seems to say that Win32 CGI.pm sets binmode on STDIN (and STDERR,
STDOUT). Does adding:
$/ = \r\n;
after
use CGI;
make a difference?
--
a
Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e
by deciding
which OS you're on.
Hmm:
http://www.perlmonks.org/bare/?node_id=55540
Seems to say that Win32 CGI.pm sets binmode on STDIN (and STDERR,
STDOUT). Does adding:
$/ = \r\n;
after
use CGI;
Or, just:
binmode STDIN, :crlf;
This is Perl's layer to implement DOS/Windows like CRLF
On 18 Sep 2012, at 13:34, Chris Stinemetz chrisstinem...@gmail.com wrote:
I am very interested in cgi scripting. I have only used php for web
development in the past.
CGI or Perl? For a long time CGI with Perl was a popular combination so there
are a lot of documents which conflate the two
I have my Perl cgi development environment all set-up. I actually
wound up setting up an instance through Amazon AWS.
Very cool service by Amazon.
I am having issues with my first script and have hopes someone may be
able to explain to me whey it isn't working correctly.
The error is coming form
: test2.cgi
Bareword left not allowed while strict subs in use at
The error message is a major clue. Try quotes around left
/usr/lib/cgi-bin/test2.cgi line 7.
Execution of /usr/lib/cgi-bin/test2.cgi aborted due to compilation errors.
Premature end of script headers: test2.cgi
1 #!/usr/bin
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
Also check out http://search.cpan.org/~lds/CGI.pm-3.08/CGI/Carp.pm
--
Shaun Fryer
--
perl -e 'print chr for map{$_+=22}($ARGV[0])=~/(\d\d)/g' \
52959394107588899482799210587992861082757785799222
Hello list,
I am very interested in cgi scripting. I have only used php for web
development in the past.
Would someone please let me know of any good tutorials to get windows
based web development environment set up and get my feet wet?
Thank you in advance,
Chris
--
To unsubscribe, e-mail
On 09/18/2012 08:34 AM, Chris Stinemetz wrote:
Hello list,
I am very interested in cgi scripting. I have only used php for web
development in the past.
Would someone please let me know of any good tutorials to get windows
based web development environment set up and get my feet wet?
Thank you
On 09/18/12 05:34, Chris Stinemetz wrote:
I am very interested in cgi scripting. I have only used php for web
development in the past.
Would someone please let me know of any good tutorials to get windows
based web development environment set up and get my feet wet?
http://www.google.com
:
I am very interested in cgi scripting. I have only used php for web
development in the past.
Would someone please let me know of any good tutorials to get windows
based web development environment set up and get my feet wet?
http://www.google.com/search?q=windows+cgi+howto
http
On Tue, Sep 18, 2012 at 5:46 AM, Mark Haney ma...@abemblem.com wrote:
On 09/18/2012 08:34 AM, Chris Stinemetz wrote:
Hello list,
I am very interested in cgi scripting. I have only used php for web
development in the past.
Would someone please let me know of any good tutorials to get windows
--
On Tue, Sep 18, 2012 at 7:53 PM, Chris Stinemetz
chrisstinem...@gmail.com wrote:
On Tue, Sep 18, 2012 at 5:46 AM, Mark Haney ma...@abemblem.com wrote:
On 09/18/2012 08:34 AM, Chris Stinemetz wrote:
Hello list,
I am very interested in cgi scripting. I have only used php for web
development
I am using CGI.pm on my website, but I generate my pages using TT (template
Toolkit).
I have few questions:
0. how to have a session variable (not a session cookie)? If I do not want to
use cookie, do i have to store session data in a temp file on server and check
it with each page load?
On 08/07/12 14:40, Rajeev Prasad wrote:
I am using CGI.pm on my website, but I generate my pages using TT (template
Toolkit).
I have few questions:
0. how to have a session variable (not a session cookie)? If I do not want to
use cookie, do i have to store session data in a temp file on server
to the browser
client, based on some conditions in the logic?
ty.
Rajeev
--
http://search.cpan.org/~markstos/CGI-Session-4.48/lib/CGI/Session.pm
---
Ron Bergin
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http
Thank you Ron and David.
- Original Message -
From: Ron Bergin r...@i.frys.com
To: Rajeev Prasad rp.ne...@yahoo.com
Cc: perl list beginners@perl.org
Sent: Tuesday, August 7, 2012 9:36 PM
Subject: Re: how to set session variable (not session cookie) using perl CGI
--
Rajeev Prasad
hello can anyone help?
following is failing:
my $ssh = Net::OpenSSH-new($host,
user = abc123,
ctl_dir = /home/openssh_lib_home,
key_path = /home/openssh_lib_home/.ssh/,
master_opts = [-o = 'StrictHostKeyChecking=no',
-o = 'ConnectTimeout
Hi Rajeev,
On Thu, 28 Jun 2012 10:00:08 -0700 (PDT)
Rajeev Prasad rp.ne...@yahoo.com wrote:
hello can anyone help?
following is failing:
my $ssh = Net::OpenSSH-new($host,
user = abc123,
ctl_dir = /home/openssh_lib_home,
key_path = /home/openssh_lib_home/.ssh/,
- Original Message -
From: Shlomi Fish shlo...@shlomifish.org
To: Rajeev Prasad rp.ne...@yahoo.com
Cc: perl list beginners@perl.org
Sent: Thursday, June 28, 2012 12:46 PM
Subject: Re: net::openssh error in CGI: Invalid or bad combination of options
('key_path')
Hi Rajeev,
On Thu, 28
...@shlomifish.org
Cc: perl list beginners@perl.org
Sent: Thursday, June 28, 2012 2:36 PM
Subject: Re: net::openssh error in CGI: Invalid or bad combination of options
('key_path')
- Original Message -
From: Shlomi Fish shlo...@shlomifish.org
To: Rajeev Prasad rp.ne...@yahoo.com
Cc: perl list
my $ssh = Net::OpenSSH-new($host,
user = abc123,
ctl_dir = /var/www/mysite.com/www/openssh_lib_home/
);
ssh is not happening, when i catch the error, i get below:
error: ctl_dir /var/www/mysite.com/www/openssh_lib_home/ is not secure
folder is :
$ ls -l
www-data www-data 4096 2012-06-27 21:54 openssh_lib_home
- Original Message -
From: Rajeev Prasad rp.ne...@yahoo.com
To: perl list beginners@perl.org
Cc:
Sent: Wednesday, June 27, 2012 4:13 PM
Subject: Net::OpenSSH failing in CGI
my $ssh = Net::OpenSSH-new($host,
user
/certificates/perl-programming.php
--
Peter Scott
http://www.perlmedic.com/ http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/certificates/perl-programming.php
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
://www.perlmedic.com/ http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/certificates/perl-programming.php
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
: http://wiki.perl-community.de/Wissensbasis/SendmailAttachments
use strict;
use warnings;
use MIME::Base64;
my $file_path = /Users/you/Documents/webpages/cgi-bin/tmp;
my $file_name = ical_summary.ics;
open(M, |/usr/sbin/sendmail -t -oi) or die Can't open mailprogram:
'/usr/sbin/sendmail'!\n
On Fri, 11 May 2012 17:25:35 -0300 Tessio Fechine oiss...@gmail.com wrote
to beginners@perl.org:
Hello,
Everywhere I read about cgi setuid programs says that it is wrong and must
never be done,
but nobody says how to circumvent the need of it.
In my case, I need to read a password from
I know this will sound incredibly stupid and n00bish, but I've
encountered something I've never dealt with before. I'm setting up a
perl based web application (this is my first web app, not my first perl)
and have an issue with multiple DBI calls in a page and how I handle
those calls. For
i have a whole collection of scripts that does this... at home.
it's been quite a while but i believe what you want is
$dbh-commit;
$dbh-disconnect'
to close a particular connection.
hopefully someone can verify/correct
http://search.cpan.org/~timb/DBI-1.620/DBI.pm
will document all the details
Hello,
Everywhere I read about cgi setuid programs says that it is wrong and must
never be done,
but nobody says how to circumvent the need of it.
In my case, I need to read a password from a protected file (read only,
owned by root) to connect to a database.
How can I do this without running
On 05/11/2012 01:25 PM, Tessio Fechine wrote:
Everywhere I read about cgi setuid programs says that it is wrong and must
never be done,
but nobody says how to circumvent the need of it.
In my case, I need to read a password from a protected file (read only,
owned by root) to connect
for the company management. My issue arises
from the fact that I've had to move from a pure perl web interface to
PHP for it's additional feature set. Until now, all my output has been
generated by perl CGI scripts and output to STDOUT directly, which is
fine, but leaves the report
From: Mark Haney
I understand the desire to 'keep with one scripting language', but what
I don't understand is why take a stand like that, yet continue to use
javascript with PHP and ASP pages. Seems to me, that in the right
instance combining the two can be very powerful. Personally,
by an intern in pure perl and was more or less nothing
but some CGI to dump data into a DB and pull data out of that DB. The
perl code generated basic HTML tables and output and nothing else.
Keep in mind here that I've used perl quite a bit, but /never/ in the
context of actually building
On 04/26/2012 08:27 AM, Bob McConnell wrote:
From: Mark Haney
This exposes the source of your confusion. Javascript is executed in the
browser, while Perl, PHP, ASP and JSP are all executed on the server. So JS
simply complements all of the others. The biggest issue is that you cannot
Just throwing in my two cents:
Javascript can run in the backend as well. Take a look at Node.js;
http://nodejs.org/
As far as perl on the web end, look into perldancer
(http://perldancer.org/), mojolicious (http://mojolicio.us/) or catalyst
(http://www.catalystframework.org/)
They are all
: Mark Haney ma...@abemblem.com
To: beginners@perl.org
Cc:
Sent: Thursday, April 26, 2012 12:19 PM
Subject: Re: PERL CGI, HTML and PHP
Well, I kind of agree with you. It's still a scripting language. Regardless
of its function. (At least in my mind.)
Still, despite all this, I'm
I'm building for the company I work for.
It was initially started by an intern in pure perl and was more or
less nothing but some CGI to dump data into a DB and pull data out
of that DB. The perl code generated basic HTML tables and output
and nothing else.
Well this confuses me from
1 - 100 of 2712 matches
Mail list logo