I am trying to write a Perl program on a linux server to submit a request to
a web server. The code runs fine when I request an http page, but I get an
error when I try to get an https page.
See sample code. I activated the debug mode, see output below. I am using
the post method because I ultimat
[EMAIL PROTECTED] wrote:
> May anyone tell me if this program is wrong or if there is a
> implementation problem in perl 5.8.6, 5.8.5, 5.8.2
> I will show the perl version and a c++ version. The c++ version
> worked. I will also show the version of the perl version that
> worked with a numbe
May anyone tell me if this program is wrong or if there is a
implementation problem in perl 5.8.6, 5.8.5, 5.8.2
I will show the perl version and a c++ version. The c++ version
worked. I will also show the version of the perl version that
worked with a number changed.
The correct version
/[\-\/\.]/, $string;
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Jon Shorie
> Sent: Wednesday, April 14, 2004 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: [Perl-unix-users] Problem that I am having with split
'.' is an RE metachar, so, at the least, you want to escape it:
split(/\./
If you're fairly confident about the format:
my ($a, $b, $c, $d, $e, $f) = split(/[^\d]/, $projectnumber);
that is, split on non-digits or specify the actual chars:
my ($a, $b, $c, $d, $e, $f) = split(/[-\/.]/, $projectnum
Jon, the dot (or period) is a reserved character,
remember? You need to escape it if you want to use
that character.
Try
($c,$d,$e,$f) = split(/\./,$g);
- John Kulas
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.Ac
t.
($a,$b,$c,$d,$e,$f) = split /[\-\/\.]/, $string;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jon Shorie
Sent: Wednesday, April 14, 2004 1:13 PM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Problem that I am having with split command
If I have the
If I have the following kind of data
500/00-7.1.19.3
I want to split it into separate variables as such
$a = "500"
$b = "00"
$c = "7"
$d = "1"
$e = "19"
$f = "3"
Here is what I have so far
($a,$g) = split("/",$projectnumber);
($b,$g) = split(/-/,$pa);
($c,$d,$e,$f) = split(/./,$g);
print "$a xx
Hi All,
This is for my work. Any suggestions or input
would be greatly appreciated.
I've been trying to use LWP module to access an
https web and download a file with no luck so far -- the script works fine for
http web, while it threw out an error for https web -- I worked behind our
PROTECTED] Behalf Of Liani Avi
Sent: Monday, March 01, 2004 12:55 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] problem with profile.
Hello All,
I want to run a perl script from the cron of a user
and I want to run the user profile
like doing the : ". ./.profile" in ksh of in ba
Hello All,
I want to run a perl script from the cron of a user
and I want to run the user profile
like doing the : ". ./.profile" in ksh of in bash
can it possible, and if yes how ?
thanks in advance ,
avi.
___
Perl-Unix-Users mailing list
[EMAIL PR
Ken,
I can't comment on the 'out of memory' problem, but to force an install
with the CPAN module, simple preface the command with 'force', e.g.
cpan> force install Busines::OnlinePayment
Ken
On 20030926 10:28:28 -0700, Ken Hilliard wrote:
> I was trying to install Business::OnlinePayment mod
I was trying to install Business::OnlinePayment module and ran into a
problem installing Net::SSLeay. This module runs a series of tests during
its installation. It get the following output on the command line:
ok 4
Spawin a TCP test server on port 1211, pid=28401...
Hi Everybody,
I want that my cgi program in "Server A" only could view is you saw it
from a Sistem in "Server B" that peoplo will connect from anywhere to
"Server B". But when people try to saw directly my cgi program in "Server
A" the can't view or send them a error
Thanks for the help
__
;Sent: Tuesday, February 18, 2003 3:20 PM
>To: Perl-Unix-Users
>Subject: [Perl-unix-users] Problem writing to file
>
>
>Hi Gurus,
>I am writing a small perl program which does some
>processing on lots
>of files in a directory. But I get the following warning :
>&
Hi Gurus,
I am writing a small perl program which does some processing on lots
of files in a directory. But I get the following warning :
"print() on closed filehandle OUT at
home/parvez/MYWORK/PERL/PathFinders/StripText.pl line 29, line
9431."
my code is as follows:
## Read the html dir
$H
Hi friends,
I have installed SMTP module for perl on my SUN
machine.
It has installed successfully, but while using that
module the console is showing an error as:
Segmentation Fault (core dumped)
Can anybody help me out in resolving this
problem.
Thanks
NiTiN
Hi Everyone ,
I have some queries about parsing a e-mail message
stored in unix mail box.
I am facing a small problem with this program.
My original problem definition is that :
" Mails come from Internet to my Unix Inbox with attachments.
I need to read each message
I want to convert image TIFF file to PDF file. It's multi-page image files.
I write this program :
my $p = PDF_new();
die "Couldn't open PDF file" if (PDF_open_file($p, "pdfprint.pdf") == -1);
PDF_set_info($p, "Creator", "pdfprint.pl");
PDF_set_info($p, "Author", "AFNOR");
PDF_set_
Hello,
I use the library "pdflib" which can generate pdf files on the fly. When I start my
Perl program on a navigator, I have an error :
at /opt/perl/lib/site_perl/sun4-solaris/pdflib_pl.pm line 7 BEGIN failed--compilation
aborted at /DOC/genie/wwwgenie/outils/pdfprint.pl line 23.
line
20 matches
Mail list logo