On 04/27/2007 07:13 PM, Jefferson Kirkland wrote:
[...]
I was doing fine until today. I tried the following:
perl -MCPAN -e 'install OpenSSL'
Things started ok, but quickly took a down turn/nose dive into the
pavement. The install failed horribly [...]
Probably the OpenSSL Perl
Hello members,
I wrote a perl script for url redirect,shown as below,
$|=1;
my $uri = '';
while () {
$uri = (split)[0];
if ($uri =~ /\.html?\?/ or $uri =~ /\.js\?/ or $uri =~ /\.css\?/ or
$uri =~ /\.jpg\?/ or $uri =~ /\.gif\?/ or $uri =~ /\.swf\?/) {
$uri =~ s/\?.*$//;
Rodrick Brown schreef:
my @files = glob(*.*);
The glob() also returns directory names, so maybe @names is a better
name for that variable.
With *.*, all names are left out that start with a dot, or that
contain no dot at all.
Try: perl -wle 'print for glob q{.* *}'
--
Affijn, Ruud
Gewoon
Tom Phoenix schreef:
Sometimes, people have the idea that 'fred' is a different string than
fred.
They are, from a maintenance point of view. I've seen it go bad often
with changes like
before:
user
after:
[EMAIL PROTECTED]
so I suggest to write q{user}, to make explicit that no
Hmm, well then. I guess this is going to be one of those lost causes at
the moment. ***sigh***
Thanks to Tom and Mumia for all their input.
Best regards,
Jeff
On 4/27/07, Mumia W. [EMAIL PROTECTED] wrote:
On 04/27/2007 07:13 PM, Jefferson Kirkland wrote:
[...]
I was doing fine until
On Sat, 28 Apr 2007 08:59:40 -0400, Jefferson Kirkland wrote:
Hmm, well then. I guess this is going to be one of those lost causes at
the moment. ***sigh***
What is it you think you need this module for and why?
--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
--
To
On 4/28/07, Jen mlists [EMAIL PROTECTED] wrote:
}elsif ($uri =~ m|www\.example\.com/v2/|o) {
$uri =~ s|www\.example\.com/v2/|v2.example.com/|;
The /o modifier isn't desirable there. Also, because a s/// will only
replace if the match part succeeds, you can skip the test:
$uri
Pierre == Pierre Mariani [EMAIL PROTECTED] writes:
Pierre I want to run it on several variables.
Pierre I have the following code that:
Pierre - builds an array of references on the variables,
Pierre - calls the function on the content of the reference,
Pierre - set the content of the reference
FamiLink == FamiLink Admin [EMAIL PROTECTED] writes:
FamiLink I am trying to verify a credit card number format with the
following: (below)
FamiLink but I am getting errors like:
Why not just use Business::CreditCard?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
On 4/27/07, Jefferson Kirkland [EMAIL PROTECTED] wrote:
snip
OpenSSL.xs:5:25: error: openssl/bio.h: No such file or directory
OpenSSL.xs:6:25: error: openssl/err.h: No such file or directory
OpenSSL.xs:7:25: error: openssl/pem.h: No such file or directory
OpenSSL.xs:8:25: error: openssl/evp.h:
Hello,
I have a PHP(..Ouch!! ..) snip using Curl to send data, in XML format, to a
payment gateway, and would like to convert this into Perl coding, but can't seem
to find any information or module(s) that implement Curl in the same manner.
Below is the PHP snip.
SNIP
$posturl = https://;
Mike,
On 4/28/07, Mike Blezien [EMAIL PROTECTED] wrote:
I have a PHP(..Ouch!! ..) snip using Curl to send data, in XML format, to
a
payment gateway, and would like to convert this into Perl coding, but
can't seem
to find any information or module(s) that implement Curl in the same
manner.
Hello,
I try to install module dialog, but the errors
messages come to screen. I don't now what's happening.
see the logs :
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp
-typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap
typemap Dialog.xs Dialog.xsc mv Dialog.xsc
Dialog.c
cc -c
Perhaps I'm misunderstanding what you're ultimately trying to
accomplish. However, if you're doing what I think you're doing and
you're using Apache, look into mod_rewrite:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
- sf
Jen mlists wrote:
Hello members,
I wrote a perl script for
Thank you all.. Now i'm able to open files from other drives and
directories.. The EXPR in glob EXPR is actually a kind of regexp then?
What is this new q{} operator?
I am sorry for the previous dubious emails, they actually were errors
made by the mail sender.
--
To unsubscribe, e-mail: [EMAIL
On 4/28/07, Rodrigo Tavares [EMAIL PROTECTED] wrote:
I try to install module dialog, but the errors
messages come to screen. I don't now what's happening.
Would that be Dialog version 0.03?
http://search.cpan.org/~uncle/Dialog-0.03/
Version numbers below 1.0 are pre-releases, by
On 4/28/07, Somu [EMAIL PROTECTED] wrote:
Thank you all.. Now i'm able to open files from other drives and
directories.. The EXPR in glob EXPR is actually a kind of regexp then?
What is this new q{} operator?
I am sorry for the previous dubious emails, they actually were errors
made by the
Mathew wrote:
I have a script which creates a text file for each of several users.
However, the contents of the file are rarely enough to warrant it. I'd
much rather place the information inside the email instead of attaching
it as a file. I haven't been able to find anything to explain how to
look at Mail::Sender
On 4/28/07, Mathew [EMAIL PROTECTED] wrote:
I have a script which creates a text file for each of several users.
However, the contents of the file are rarely enough to warrant it. I'd
much rather place the information inside the email instead of attaching
it as a file.
I'm using MIME::Lite to create the email. It is being generated as I'm
able to send out all the emails necessary.
The way I'm doing it now is to use a variable which holds a small
message to be inserted into the email. However, I don't know how to
dynamically format that variable with the data
I typically use a HEREDOC to format my email messages. You can do all
sort of things by sending the email as HTML of you want as well.
Robert
Mathew wrote:
I'm using MIME::Lite to create the email. It is being generated as I'm
able to send out all the emails necessary.
The way I'm doing it
I'll have to look at the HEREDOC option. I'm not familiar with that.
As for HTML, people here get quite frisky when they don't get plain text
emails.
Mathew
Robert Hicks wrote:
I typically use a HEREDOC to format my email messages. You can do all
sort of things by sending the email as HTML of
my $BODY = END_TXT;
This is the message that will be passed and you
can even put $variables into it and they will
be interpolated.
END_TXT
Then you just pass $BODY to however you constructed your MIME::Lite call.
HTH,
Robert
Mathew wrote:
I'll have to look at the HEREDOC option. I'm not
Just like to show how NOT to use postfix. I have had a frustrating day
tackling this type of unreadable code.
exec_rqst('stga2k_vps.pl',$FileNameIn) if ($a2kqual[4] eq
VPS);
exec_rqst('stga2kif.sh',$FileNameIn) if ($a2kqual[4] ne
VPS);
if ($a2kqual[4] eq VPS) {
Ken Foskey wrote:
Just like to show how NOT to use postfix. I have had a frustrating day
tackling this type of unreadable code.
exec_rqst('stga2k_vps.pl',$FileNameIn) if ($a2kqual[4] eq
VPS);
exec_rqst('stga2kif.sh',$FileNameIn) if ($a2kqual[4] ne
VPS);
if ($a2kqual[4]
On Fri, 2007-04-27 at 11:16 -0700, Nishi wrote:
Yes, its the cygwin perl to be blamed.
Would setting the ACTIVESTATE environment variable help? before running the
scripts that contain the basename usage?
Cygwin is a Unix environment emulated in Windows. Paths on Unix are
done by slash eg
2007/4/29, Steve Finkelstein [EMAIL PROTECTED]:
Perhaps I'm misunderstanding what you're ultimately trying to
accomplish. However, if you're doing what I think you're doing and
you're using Apache, look into mod_rewrite:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
From my
27 matches
Mail list logo