hi nexis!
This code works fine for me and I am able to see the graph. But when
the code goes on production server, it gives Internal Server
Error. I have check the error logs and it says the premature end of
header.
sorry, but you checked the logs not good enough.
the message about the
On Oct 22, 10:32 am, [EMAIL PROTECTED] (Dr.Ruud) wrote:
[EMAIL PROTECTED] schreef:
I would like to replace a part of a really big (4GB) text file. And
the contents that I want to change is really a small but continuous
portion. Could some one please help me with the best way I can do this
Thanks guys, It took me while but I figured it out... mostly i was confuse
with {2,5}. because I thought it should be {2,3} since i have never seen a
domain address with 5 characters.
On 10/23/07, Jeff Pang [EMAIL PROTECTED] wrote:
Yes,this is a regex for email matching,but may be broken under
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
^([a-zA-Z0-9_\-\.]+ # any character repeated from the set memorized into $1
)@ # followed by an @
([a-zA-Z0-9_\-\.]+) # any character repeated from the set memorized into $2
\.([a-zA-Z]{2,5})$ # any alphabetic character in both cases 2 - 5 in length
into $3
It looks like it will match an email
I'm trying to build a .Net dll that I can call from VBA from some
perl. I've fiddled around with the PerlNet application and docs and I
just cant seem to get it to work. Here is the object I'm trying to
convert:
package SNPutils;
#Constructor
sub new
{
my($package) = @_;
return bless {},
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
1. ^([a-zA-Z0-9_\-\.]+)@
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, underscore, hyphen and the @ sign is required.
2. ([a-zA-Z0-9_\-\.]+)\.
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, hyphen, underscore and end with a period.
On 10/24/07, Anuradha Uduwage [EMAIL PROTECTED] wrote:
since i have never seen a
domain address with 5 characters.
Not only 5 characters,but 6 characters are permitted.like these:
.museum--Museums
.travel--Travel related businesses
--
To unsubscribe, e-mail: [EMAIL
A better one for email may be
[EMAIL PROTECTED]
\.]*[a-zA-Z]$
-Original Message-
From: Omega -1911 [mailto:[EMAIL PROTECTED]
Sent: 24 October 2007 08:48
To: beginners perl
Subject: Re: Trying to figureout regex please help
1. ^([a-zA-Z0-9_\-\.]+)@
Can contain a group of letters (case
Or If you want to be really silly
http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
-Original Message-
From: Andrew Curry [mailto:[EMAIL PROTECTED]
Sent: 24 October 2007 09:13
To: Omega -1911; beginners perl
Subject: RE: Trying to figureout regex please help
A better one for email
Hi Siva,
Leave the perl script and first try the url in your browser.
If it works fine means then the code will get you the HTML contecnt of that
page.
Thanks and Regards,
Prabu.M.A
- Original Message
From: Siva Prasad [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Wednesday,
Hi Siva,
I doubt the problem is with the version of perl you are using.
The symbol Perl_sv_2iv_flags may be introduced with the new version of perl
Try with Perl version is: v5.8.9
- Original Message
From: sivasakthi [EMAIL PROTECTED]
To: beginners perl beginners@perl.org
Sent:
Hi,
You can also try use Regexp::Common::Email::Address.
See
http://search.cpan.org/~cwest/Regexp-Common-Email-Address-1.01/lib/Regexp/Common/Email/Address.pm
Yaron Kahanovitch
- Original Message -
From: Andrew Curry [EMAIL PROTECTED]
To: Andrew Curry [EMAIL PROTECTED], Omega -1911
Hi All,
I am executing following line in my perl script.
chomp(@files = qx(cleartool desc -fmt %[versions]p\n
activity:$ENV{CLEARCASE_ACTIVITY}));
But i am getting following error when i execute the script.
sh: cleartool desc -fmt %[versions]p: not found
sh: activity:: not found
As per
Hi,
I want to use Net::SFTP so I need to install
Net::SSH::Perl
But at the following test it sleeps for more hours:
t/03-packet..ok 1/10
so I cannot continue to install the module.
Does anyone know what's the problem or how I can solve it?
Thanks.
Octavian
--
To unsubscribe,
From: Siva Prasad [mailto:[EMAIL PROTECTED]
Hi Gurus,
I wanted to parse a PHP page which is on web.
I don't have access to server where the PHP page is hosted.
So I wanted to get source of that particular page and then parse the
source file.
When you access a PHP page with HTTP, you will
I have seen many guys on this list mentioned Net::SSH install problems.
Maybe you can force to install it without `make test` steps?
On 10/24/07, Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I want to use Net::SFTP so I need to install
Net::SSH::Perl
But at the following test it sleeps
Siva Prasad wrote:
use LWP::UserAgent ;
$ua = new LWP::UserAgent ;
$ua-agent(Mozilla/4.0) ; # Play with their minds
$req = new HTTP::Request 'GET',
'http://www.jimmyr.com:80/free_education.php' ;
$req-header('Accept' = 'text/html') ;
$res = $ua-request($req) ;
if($res-is_success){
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Pang
Sent: Wednesday, October 24, 2007 8:22 AM
To: Octavian Rasnita
Cc: beginners perl
Subject: Re: Net::SFTP
I have seen many guys on this list mentioned Net::SSH install
problems.
Maybe
Andrew Curry schreef:
Or If you want to be really silly
http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
What is silly about that? It is not complete though.
See also:
http://search.cpan.org/~abigail/RFC_RFC822_Address/Address.pm
http://search.cpan.org/~rjbs/Email-Valid/lib/Email/Valid.pm
Sayed, Irfan (Irfan) wrote:
Hi All,
I am executing following line in my perl script.
chomp(@files = qx(cleartool desc -fmt %[versions]p\n
activity:$ENV{CLEARCASE_ACTIVITY}));
But i am getting following error when i execute the script.
sh: cleartool desc -fmt %[versions]p: not
Hi,
I want to modify the mirror list that I selected when I did a first
run of perl -MCPAN.
One of the mirror I choose has stopped being a mirror and causing the
the install process to take much longer. I did perl -MCPAN -e shell
but there were no options that looked relevant.
Is there a way
On 10/24/07, Beginner [EMAIL PROTECTED] wrote:
I want to modify the mirror list that I selected when I did a first
run of perl -MCPAN.
You can modify your settings within a CPAN shell session by using the
o command. But it may be easier to directly edit the settings file,
which is probably in
Juan B wrote:
Ok I did it and know I get another error :-(
here goes the error:
Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm
line 284.
I don't have that module and therefore have no idea what line 284 is or
to what it applies, but here are a couple suggestions.
this is the
All,
Why is it when I turn off debug mode, I get no output?
I was expecting output similar to what nslookup shows for a simple query. My
goal is to look up by NAME and by IP within 2 domains to determine success and
failure.
use strict;
use warnings;
use Carp;
snip
my $res =
the_train_man wrote:
On Oct 22, 10:32 am, [EMAIL PROTECTED] (Dr.Ruud) wrote:
[EMAIL PROTECTED] schreef:
I would like to replace a part of a really big (4GB) text file. And
the contents that I want to change is really a small but continuous
portion. Could some one please help me
Prabu Ayyappan wrote:
Hi Siva,
Leave the perl script and first try the url in your browser.
If it works fine means then the code will get you the HTML contecnt of that
page.
Thanks and Regards,
Prabu.M.A
If you end up able to reach the URL from a browser and somehow not from
the
Jenda Krynicky wrote:
From: Rob Dixon [EMAIL PROTECTED]
Jenda Krynicky wrote:
It's just a matter of one map():
#!perl
use XML::Generator;
$ref = {
'dermot' = '10',
'joe' = '17',
'rose' = '11',
'phil' = '13',
'brian' = '20',
On Wed, October 24, 2007 6:12 am, Sayed, Irfan (Irfan) wrote:
Hi All,
I am executing following line in my perl script.
chomp(@files = qx(cleartool desc -fmt %[versions]p\n
activity:$ENV{CLEARCASE_ACTIVITY}));
But i am getting following error when i execute the script.
sh: cleartool desc
Hi All,
I am executing following line in my perl script.
chomp(@files = qx(cleartool desc -fmt %[versions]p\n
activity:$ENV{CLEARCASE_ACTIVITY}));
But i am getting following error when i execute the script.
sh: cleartool desc -fmt %[versions]p: not found
sh: activity:: not found
As per
test
On 10/24/07, Sayed, Irfan (Irfan) [EMAIL PROTECTED] wrote:
snip
chomp(@files = qx(cleartool desc -fmt %[versions]p\n
activity:$ENV{CLEARCASE_ACTIVITY}));
snip
Your problem is the outer quotes. They don't belong there. You are
telling the shell to run the file named
cleartool desc -fmt
On 10/23/07, Sayed, Irfan (Irfan) [EMAIL PROTECTED] wrote:
test
Your test messages are failing: They are being distributed to a large
group of people who have no need of them. Test messages are about as
welcome in this forum as spam would be.
If you have a message to send to the list, send
Hi,
I think you don't run the script under perl
try: perl your script name
Any way, if you are using Unix system, look at your script and figure if the
first line have the shbang #!/usr/bin/perl
Yaron Kahanovitch
- Original Message -
From: Irfan Sayed (Irfan) [EMAIL PROTECTED]
To:
Hi,
Sorry my mistake its not a shbang problem...
Yaron
- Original Message -
From: [EMAIL PROTECTED]
To: Irfan Sayed (Irfan) [EMAIL PROTECTED]
Cc: beginners@perl.org
Sent: Wednesday, October 24, 2007 7:06:47 PM (GMT+0200) Asia/Jerusalem
Subject: Re: qx string
Hi,
I think you don't run
On Oct 24, 4:22 pm, [EMAIL PROTECTED] (Oryann9) wrote:
Why is it when I turn off debug mode, I get no output?
What output do you get when you don't turn off debug?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 10/24/07, oryann9 [EMAIL PROTECTED] wrote:
Why is it when I turn off debug mode, I get no output?
Are you saying that there's a difference in your program's execution
depending upon whether Perl's debugger (activated via the -d command
line switch) is or is not running? If that's the case,
Why is it when I turn off debug mode, I get no output?
What output do you get when you don't turn off debug?
--
I found what is causing this, $query is 'undef'
So was it the intent of the person who wrote this module to have this code act
in this way?
Do you have a recommendation on how
On 10/24/07, Andrew Curry [EMAIL PROTECTED] wrote:
^([a-zA-Z0-9_\-\.]+ # any character repeated from the set memorized into $1
)@ # followed by an @
([a-zA-Z0-9_\-\.]+) # any character repeated from the set memorized into $2
\.([a-zA-Z]{2,5})$ # any alphabetic character in both cases 2 - 5 in
What output do you get when you don't turn off debug?
--
I found what is causing this, $query is 'undef'
So was it the intent of the person who wrote this module to have this
code act in this way?
Do you have a recommendation on how to make this more usable in terms
of success/failure
From: [EMAIL PROTECTED]
I'm trying to build a .Net dll that I can call from VBA from some
perl.
snipped
When I try and
register the dll. I get DLL registerserver entry point could not be
found. when I try and access the DLL through the references I get
Cant add a reference to the
From: Rob Dixon [EMAIL PROTECTED]
Jenda Krynicky wrote:
From: Rob Dixon [EMAIL PROTECTED]
Well yes, of course that's possible. But you're advocating abandoning
strictures and writing unintelligible code by proposing it.
Beg your pardon? use strict doesn't have any
44 matches
Mail list logo