>
> 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 script to use the #2 version and that
> gave me the
> > same thing.
>
> not sure what you are trying to do. if you are trying to
> remove the ^M
Thanks,
I wasn't sure if that was causing the original problem or not.
My original problem was that I couldn't install the Net::SMTP::Multipart module.
http://search.cpan.org/author/DROBERTS/Net-SMTP-Multipart-1.5/
I installed several modules that day, no problem.
I was doing it as root.
I have Net::SMTP installed as well as all of the other required modules.
I tried doing it command line, via cpan module, and even did a
use lib {/path.../);
use Multipart;
Just for kicks to see how it'd go but every time there was an error
about $VERSION ( see snip below )
Any ideas?
[snip]
> > # perl Makefile.PL
> > Checking if your kit is complete...
> > Looks good
> > 'HTMLLIBPODS' is not a known MakeMaker parameter name.
> > Could not eval '
> > package ExtUtils::MakeMaker::_version;
> > no strict;
> >
> > local $VERSION;
> > $VERSION=undef; do {
> > our $VERSION = sprintf("%d.%d", q$Revision:
> > 1.4 $ =~ /(\d+)\.(\d+)/);
> > }; $VERSION
> > ' in Multipart.pm: Can't modify subroutine entry in
> > scalar assignment at (eval 15) line 7, at EOF # ls
> > Changes MANIFEST Makefile.PL Multipart.pm
> > # make
> > make: no target to make.
[snip]
> character, your s/\^M//g is not going to work. your text
> editor is probably just being nice to you and show you the
> '^' character so you know it's not a regular printable
> character. it's probably a Ctrl-M character. try:
>
> [panda@dzhuo]$ perl -pi -e 's/\cM//g' your_file.pm [panda@dzhuo]$
>
> david
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]