Re: Mail::Sendmail text file as message body

2001-03-20 Thread Ian . Stewart
How about: open(FILE, $file) or die "error opening $file: $!"; my @content = ; my $message = join("\n", @content); my %mail = (To => $to,                          From => $from,                          Subject => $subject,                          Message => $message); HTH, Ian

Mail::Sendmail text file as message body

2001-03-20 Thread Jean-Paul Felix
I'd like a text file $file to appear as the text of a message being created/sent by Mail::Sendmail. Is this possible please? I'd like to do something like: %mail = (To => $to, From=> $from, Subject => $subject, Message => $file ); thanks

line number

2001-03-20 Thread Ted S.
Bruno Bellenger responded to Madan Babu: >> hi list!! >> >> is there any way by which i could get the specific line from a file, >> say.. line number 32 of file named madan.dat or something like that using >> filehandles? >> >> i will have some things like this: >> open (FH,"madan.dat"); >> while

Re: Extracting *.doc data

2001-03-20 Thread Ian . Stewart
Have you taken a look at wvware (http://wvware.sourceforge.net) ? HTH, Ian Please respond to [EMAIL PROTECTED] To:        "Perl-Win32-Users" <[EMAIL PROTECTED]> cc:         (bcc: Ian Stewart/Great Lakes/AirTouch) bcc:        Ian Stewart/Great Lakes/AirTouch Subject:        Extract

RE: Newbie question

2001-03-20 Thread Jones Robert Contr 81 CS/SCK
I read my Email on a *nix machine using text mail clients. If I ever see HTML in the first 5-lines of the body I immediately delete it. My presumption is that I am not goign to see anything human readable. And, if it was important enough, the text section would appear first like all my other m

RE: Newbie question

2001-03-20 Thread Stephen Morley
One way handle this is to use multipart mail. You can send one part with the HTML and one part with the same message in text mode. For most users send the HTML first and their mail client will display that, if it supports HTML or the text otherwise. For AOL users send the TEXT first as it does not

Re: resetting the cpan install

2001-03-20 Thread Simon Oliver
From perldoc CPAN: CONFIGURATION When the CPAN module is installed, a site wide configuration file is created as CPAN/Config.pm. The default values defined there can be overridden in another configuration file: CPAN/MyConfig.pm. You can store this file in $HOME/.cpan/CPAN/MyC

(no subject)

2001-03-20 Thread Trine Schunck
What should the values be in the formmail.pl file, when I run win2000? Trine Schunck _ Trine Schunck Civilingeniør HENRIK LARSEN Rådgivende Ingeniørfirma F.R.I Godthåbsvænget 4 2000 Frederiksberg Telefon +45 38 10 42 04 Fax

Re: Term::ANSIColor under Windows 2000

2001-03-20 Thread Sisyphus
Visit our website at http://www.kalinabears.com.au - Original Message - From: Greg Wardawy <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 1:13 AM Subject: Term::ANSIColor under Windows 2000 Hello, Does anyone know how to use Term::ANSIColor under Windows 2000