Well, I've given up trying to install the Net::SMTP::Multipart Module.
I'm going to use Mail::Sender instead which actually looks like it does more and
It installed first time el prefecto! Thanks Jenda for that module!!
I'd like to thank John for all his patient help in trying to get this to wor
Hello,
It seems from what I find on google is that
The error :
Can't modify subroutine entry in scalar assignment ...
Has to do with the version of perl.
One person upgraded and that problem went away but a different on ecame up.
One message was a module author saying
'Are you using 5.005? Rat
Hello,
I'm really hitting abrick wall here. Any help or insight would be greatly appreciated.
I'm trying to get this Module installed:
http://search.cpan.org/author/DROBERTS/Net-SMTP-Multipart-1.5/
[ console output below with step by step actions ]
The line in the Multipart.pm file :
our $VE
>
> Dan Muey wrote:
>
> >
> > Line 30 in that file is :
> > our $VERSION = sprintf("%d.%d", q$Revision: 1.5 $ =~
> > /(\d+)\.(\d+)/);^M
> >
> > Notice that ^M? that's all over the file. I did
> > perl -e '@f = `cat Multipart.pm`;foreach $l(@f) { $l =~ s/\^M//g;
> > print $l; }' > Multipart2.
Dan Muey wrote:
>
> Line 30 in that file is :
> our $VERSION = sprintf("%d.%d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/);^M
>
> Notice that ^M? that's all over the file. I did
> perl -e '@f = `cat Multipart.pm`;foreach $l(@f) { $l =~ s/\^M//g; print
> $l; }' > Multipart2.pm
>
> And modified my test
On Mon, 27 Jan 2003 17:53:23 -0600
"Dan Muey" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Here's what I've tried ...
> >
> > If I do this :
> >
> > #!/usr/bin/perl
> >
> > use lib qw(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5);
> > use Multipart;
> >
> > It gives me :
> >
> > Can't modify subrou
> Here's what I've tried ...
>
> If I do this :
>
> #!/usr/bin/perl
>
> use lib qw(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5);
> use Multipart;
>
> It gives me :
>
> Can't modify subroutine entry in scalar assignment at
> /home/dmuey/perlmod/Net-SMTP-Multipart-1.5/Multipart.pm line
> 30
Here's what I've tried ...
If I do this :
#!/usr/bin/perl
use lib qw(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5);
use Multipart;
It gives me :
Can't modify subroutine entry in scalar assignment at
/home/dmuey/perlmod/Net-SMTP-Multipart-1.5/Multipart.pm line 30, near ");"
BEGIN failed--compil
No takers eh, then
How would I go about using just the .pm file instead of the installed module with the
example at the link below?
require "./Mulitpart.pm";
sub import {
???/
}
import; # ???
Thanks
Dan
>
> Hello List,
>
> If any one could shed some light on what I'm mi