Re: MIME::Lite Return-Path not being set

2012-04-23 Thread sono-io
On Apr 23, 2012, at 5:06 PM, sono...@fannullone.us wrote: > I'm trying to set the Return-Path in emails that I send out, but I'm not > having any luck. Apparently the culprit is sendmail, which is the default for Mime::Lite. If I use SMTP instead, I'm able to alter the Return-Path. $m

Re: Net::SMTP

2012-04-23 Thread Michael Rasmussen
On Tue, Apr 24, 2012 at 01:54:15AM +0530, Somu wrote: > Hi everyone... > Why isn't it happeing!!?? > > Just the code from Net::SMTP docs > > __ > > use strict; > use warnings; > use Net::SMTP; > > #these 3 lines bring the output mx.google.

MIME::Lite Return-Path not being set

2012-04-23 Thread sono-io
I'm trying to set the Return-Path in emails that I send out, but I'm not having any luck. Here's the code I'm trying: use strict; use warnings; use MIME::Lite; my $msg = MIME::Lite->new ( From => 'sen...@example.com', To

Net::SMTP

2012-04-23 Thread Somu
Hi everyone... Why isn't it happeing!!?? Just the code from Net::SMTP docs __ use strict; use warnings; use Net::SMTP; #these 3 lines bring the output mx.google.com # my $smtp = Net::SMTP->new('smtp.gmail.com') or die $!; # print $smtp->do

Re: translate following files based on the last line of the previous file

2012-04-23 Thread lina
On Monday 23,April,2012 09:28 PM, lina wrote: On Monday 23,April,2012 01:27 AM, Jim Gibson wrote: On Apr 22, 2012, at 9:52 AM, lina wrote: Here is what I Have came up so far, #!/usr/bin/env perl use strict; use warnings; use autodie qw(open close); use 5.012; my $dict = system("tail -n 1 t

Re: how to quick print a series of *

2012-04-23 Thread Shlomi Fish
Hello lina, On Mon, 23 Apr 2012 23:45:03 +0800 lina wrote: > Hi, > > suppose I wish to print 20 * > > seems > > print "*{20}" not work. > Use the "x" operator (the repeat operator): shlomif@telaviv1:~$ cat Test.pl #!/usr/bin/perl use strict; use warnings; print +('*' x 20), "\n"; shlomif

RE: how to quick print a series of *

2012-04-23 Thread Jack Maney
What you need is the "x" operator (http://perldoc.perl.org/perlop.html#Multiplicative-Operators): So, the following command: print "*" x 20 . "\n"; produces the following output: Jack -Original Message- From: lina [mailto:lina.lastn...@gmail.com] Sent: Monday,

how to quick print a series of *

2012-04-23 Thread lina
Hi, suppose I wish to print 20 * seems print "*{20}" not work. Thanks ahead for your sugestions, Best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: translate following files based on the last line of the previous file

2012-04-23 Thread lina
On Monday 23,April,2012 01:27 AM, Jim Gibson wrote: On Apr 22, 2012, at 9:52 AM, lina wrote: Here is what I Have came up so far, #!/usr/bin/env perl use strict; use warnings; use autodie qw(open close); use 5.012; my $dict = system("tail -n 1 text_1.xvg"); Read the documentation on the sy

Re: File::Find::Object::Rule problem

2012-04-23 Thread Shlomi Fish
ׁHi Manfred, On Mon, 23 Apr 2012 12:24:49 +0200 Manfred Lotz wrote: > On Mon, 23 Apr 2012 11:01:33 +0300 > Shlomi Fish wrote: > > > Hi all, > > > > On Mon, 23 Apr 2012 10:12:33 +0300 > > Shlomi Fish wrote: > > > > > Hi Jack, > > > > > > On Mon, 23 Apr 2012 06:02:55 + > > > Jack Maney

Re: File::Find::Object::Rule problem

2012-04-23 Thread Manfred Lotz
On Mon, 23 Apr 2012 06:02:55 + Jack Maney wrote: > Manfred, > > The issue is that you're storing the return value of the start method > into $plf, and if you look at the source code, the start method > returns 1. > > In fact, using Data::Dumper, > > print Dumper($plf) . "\n"; > > returns

Re: File::Find::Object::Rule problem

2012-04-23 Thread Manfred Lotz
On Mon, 23 Apr 2012 11:01:33 +0300 Shlomi Fish wrote: > Hi all, > > On Mon, 23 Apr 2012 10:12:33 +0300 > Shlomi Fish wrote: > > > Hi Jack, > > > > On Mon, 23 Apr 2012 06:02:55 + > > Jack Maney wrote: > > > > > Manfred, > > > > > > The issue is that you're storing the return value of th

Re: File::Find::Object::Rule problem

2012-04-23 Thread Shlomi Fish
Hi all, On Mon, 23 Apr 2012 10:12:33 +0300 Shlomi Fish wrote: > Hi Jack, > > On Mon, 23 Apr 2012 06:02:55 + > Jack Maney wrote: > > > Manfred, > > > > The issue is that you're storing the return value of the start method into > > $plf, and if you look at the source code, the start metho

Re: File::Find::Object::Rule problem

2012-04-23 Thread Shlomi Fish
Hi Jack, On Mon, 23 Apr 2012 06:02:55 + Jack Maney wrote: > Manfred, > > The issue is that you're storing the return value of the start method into > $plf, and if you look at the source code, the start method returns 1. > > In fact, using Data::Dumper, > > print Dumper($plf) . "\n"; >