In article ,
John Plum wrote:
In the test i mentioned previously, the variable to be handed to the
message body , from the slurp subroutine, should read ${signature_ref},
not $customer_msg_html, as I wrote in the message. I'm sorry, i had
adapted the script hoping to cut it down, for your eas
Well thanks to Shlomi and Jenda. I followed up the reccommendation for
slurp, investigated some solutions, and targetted File::Slurp, with two
tests, and some interesting results, which follow.
use CGI;
use warnings;
use diagnostics;
use CGI::Carp qw/fatalsToBrowser warningsToBrowser/
use File
On Sunday 13 September 2009 02:43:52 Jenda Krynicky wrote:
> From: Shlomi Fish
>
> > > use FileHandle;
> > >my $signature = new FileHandle;
> > > $signature->open("<$signature_file")or die "Could not open
> > > file\n";
> >
> > You should use IO::Handle instead of File::Handle (or IO::F
From: Shlomi Fish
> > use FileHandle;
> >my $signature = new FileHandle;
> > $signature->open("<$signature_file")or die "Could not open
> > file\n";
>
> You should use IO::Handle instead of File::Handle (or IO::File in your case),
> and use the three args open. It's nice you've used di
>
> MY problem is obtaining and passing text/html from file to a scalar
> variable to be printed to mail, (using MIME::Creator).
>
> Unfortunately I get: 'printFile(FileHandle=GLOB(0x84b66b8))'
>
This means it is a typeglob (a generic entry in the Perl 5 packages (=
HI Folk,
May I introduce myself, John Plumridge, London, UK.
- I'm still in awe of this whole creation we're in.
Nice to meet you.
I have a reason of course, for approaching you, via my MTNews 'console'.
What a great application!
MY problem is obtaining and passing
John W. Krahn wrote:
> Steve Bertrand wrote:
>> John W. Krahn wrote:
>>> John Plum wrote:
>>
#---Assemble/concatenate references in both ascii and html, to make
full confirmatory message bodies with order details---
$scalar_sig = "\printFile($signature)";
>>> You can not call a
Steve Bertrand wrote:
John W. Krahn wrote:
John Plum wrote:
#---Assemble/concatenate references in both ascii and html, to make
full confirmatory message bodies with order details---
$scalar_sig = "\printFile($signature)";
You can not call a subroutine from inside a string. Just the $signa
John W. Krahn wrote:
> John Plum wrote:
>> May I introduce myself, John Plumridge, London, UK.
>
> John W. Krahn, Vancouver, Canada.
Steve Bertrand, Port Hope, Ontario, Canada :)
>> #---Assemble/concatenate references in both ascii and html, to make
>> full confirmatory message bodies with ord
ourse, for approaching you, via my MTNews 'console'.
What a great application!
MY problem is obtaining and passing text/html from file to a scalar
variable to be printed to mail, (using MIME::Creator).
Unfortunately I get: 'printFile(FileHandle=GLOB(0x84b66b8))'
The reference assi
HI Folk,
May I introduce myself, John Plumridge, London, UK.
- I'm still in awe of this whole creation we're in.
Nice to meet you.
I have a reason of course, for approaching you, via my MTNews 'console'.
What a great application!
MY problem is obtaining and passing
11 matches
Mail list logo