Hi,
I have perl5.10.0 installed under C:/ and using bash prompt to run a
make command.
When I issue the make command it throws error
"Perl Script not found" C:/Program no such file or directory
Perl is not installed in Program files it under c:
Also I do understand it could be a spacing proble
> Hi,
>
> I have perl5.10.0 installed under C:/ and using bash prompt to run a
> make command.
How are you doing that?
>
> When I issue the make command it throws error
>
> "Perl Script not found" C:/Program no such file or directory
Where is the script that you are trying to run?
>
> Perl is n
From: mer...@stonehenge.com (Randal L. Schwartz)
> > "Paul" == Paul M writes:
>
> Paul> Note: It is seriously
> Paul> MALFORMED XML
>
> That's a nonsense phrase, like "somewhat pregnant". It's either XML, or
> it isn't. And if it isn't, get after the vendor for spewing angle-bracketish
> s
Hi Rob,
Thanks for your answer.
I change the code to try debug and put the correct SMTP address:
$smtp_test = Net::SMTP->new('smtp.mail.yahoo.com',
Timeout => 30,
Debug => 1,)|| print "ERROR creating SMTP obj: $! \n";
but the following message is displayed: "Bad file descriptor".
I don't need t
Hi Jenda,
I try to debug the code and the error message was: "Bad file
descriptor".
I will try to use the other modules.
I need only send an email.
Thanks,
Fúlvio
On 5 jan, 17:46, je...@krynicky.cz (Jenda Krynicky) wrote:
> From: Fúlvio
>
> > Hi all,
>
> > I am trying to send an email using
Hi Octavian,
I don't need to use this server. I need only to send an email, but as
I don't know perl
very well I get an example using SMTP and yahoo server.
Thanks,
Fúlvio
On 5 jan, 17:16, orasn...@gmail.com (Octavian Rasnita) wrote:
> From: "Fúlvio"
> Hi all,
>
> I am trying to send an email
From: "Fúlvio"
> Hi Octavian,
>
> I don't need to use this server. I need only to send an email, but as
> I don't know perl
> very well I get an example using SMTP and yahoo server.
You can't send an email without using an SMTP server, or sendmail, qmail...
Do you use an SMTP server for sending
2009/1/6 Fúlvio :
> Hi Jenda,
>
> I try to debug the code and the error message was: "Bad file
> descriptor".
> I will try to use the other modules.
> I need only send an email.
>
If you are not familiar with SMTP protocal (RFC 821), you are hard to
use Net::SMTP.
I'd suggest you use another modul
Fúlvio Figueirôa wrote:
I don't need to use the SMTP procotol,
Well, you *do* need an SMTP server that you are allowed to use.
I need only send an email.
This is an example that makes use of my favorite module Mail::Sender
(written by Jenda, btw):
use Mail::Sender;
ref (new Mail
From: "Fúlvio Figueirôa"
Hi Octavian,
I solved my problem using sendmail with the code below:
open (MAIL, "|/usr/sbin/sendmail -t ");
print MAIL "From: someaddr...@somedomain\n";
print MAIL "To: someaddre...@somedomain\n";
print MAIL "Content-Type: text/plain\n";
print MAIL "Subject: Very simpl
Hello,
Trying to do the following and the variable $field_term does not transiterate.
The $foo becomes "name$age$grade$school$semester".
#!/usr/bin/perl
my $field_term = '|';
my $foo = "name,age,grade,school,semester";
$foo =~ tr/,/$field_term/;
__END__
Please advise.
Tony Esposito wrote:
Hello,
Hello,
Trying to do the following and the variable $field_term does not transiterate. The
$foo becomes "name$age$grade$school$semester".
#!/usr/bin/perl
my $field_term = '|';
my $foo = "name,age,grade,school,semester";
$foo =~ tr/,/$field_term/;Â
__END__
I tried $foo =~ s/,/$field_term/g; and it worked fine ... thx.
From: John W. Krahn
To: Perl Beginners
Sent: Tuesday, 6 January, 2009 13:19:20
Subject: Re: trouble with 'tr' command
Tony Esposito wrote:
> Hello,
Hello,
> Trying to do the following and the v
I find it's easier (and in this case totally doable) if you make
something like this:
for my $count (10 .. 0) {
printf STDERR "%2d seconds remaining...\n", $count;
sleep 1;
print STDERR "\e[A";
}
^ "\e[A" is the VT-100 code to move the cursor up one line.
^ Also, expanding the number of se
Hi Octavian,
I solved my problem using sendmail with the code below:
open (MAIL, "|/usr/sbin/sendmail -t ");
print MAIL "From: someaddr...@somedomain\n";
print MAIL "To: someaddre...@somedomain\n";
print MAIL "Content-Type: text/plain\n";
print MAIL "Subject: Very simple email test\n\n";
print MAI
On Tue, 2009-01-06 at 06:23 -0800, h3xx wrote:
> I find it's easier (and in this case totally doable) if you make
> something like this:
>
> for my $count (10 .. 0) {
> printf STDERR "%2d seconds remaining...\n", $count;
> sleep 1;
> print STDERR "\e[A";
> }
>
> ^ "\e[A" is the VT-100 code
This can work on windows.
But in ActiveState Perl 5.8, I can't use for (10 .. 0),
I have to reverse (0 .. 10)
#! perl
use strict;
use warnings;
for my $count (reverse (0 .. 10) )
{
printf STDERR "%2d seconds remaining...\r", $count;
sleep 1;
}
print "Boo!", ' 'x20, "\n"; #20 > length of the
Fúlvio Figueirôa wrote:
> Hi Octavian,
> I solved my problem using sendmail with the code below:
>
> open (MAIL, "|/usr/sbin/sendmail -t ");
> print MAIL "From: someaddr...@somedomain\n";
> print MAIL "To: someaddre...@somedomain\n";
> print MAIL "Content-Type: text/plain\n";
> print MAIL "Subject
h3xx wrote:
I find it's easier (and in this case totally doable) if you make
something like this:
for my $count (10 .. 0) {
You can't do that in Perl. The range operator has to have the smaller
number on the left and the larger number on the right otherwise it will
return an empty list and
19 matches
Mail list logo