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 
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]

Reply via email to