confusion about modules for email

2013-02-08 Thread Rajeev Prasad
Hello, I want to use an email module on my webserver, which is NOT running any mail server. I am not sure if I have install and configure a mail server first??? how does following modules work? they need a mail server running in the back? Mail::Sendmail Email::Sender pl advice from your ex

Re: reading file or pipe

2013-02-08 Thread timothy adigun
Thanks On 8 Feb 2013 07:37, "shawn wilson" wrote: > > How do I take in a file or pipe input? Please check this http://perldoc.perl.org/functions/open.html What I want is: > script.pl file.txt > or > cat file.txt | script.pl > > What I'm trying is: > my $logfile; > if (@ARGV and $ARGV[0] =~ /^-.

Re: reading file or pipe

2013-02-08 Thread shawn wilson
> On Fri, Feb 8, 2013 at 2:06 AM, Jim Gibson wrote: >> >> The null filehandle (<>) will read from standard input if @ARGV is empty, >> and from the members of @ARGV, interpreting each scalar as a file name to be >> opened automatically in succession. >> >> Does that do what you want? >> >> Act