Discussion:
Muttprint
Brian Salter-Duke
2018-03-07 22:42:02 UTC
Permalink
Is there a recent version of muttprint? After an upgrade of Ubuntu to 17.10, I
get this error:-

$* is no longer supported. Its use will be fatal in Perl 5.30 at ./bin/muttprint line 1649.
String found where operator expected at ./bin/muttprint line 1693, near "if ($_[0] eq ""
Global symbol "$text" requires explicit package name (did you forget to declare "my $text"?) at ./bin/muttprint line 1650.

perl --version gives this:-

This is perl 5, version 26, subversion 0 (v5.26.0) built for
x86_64-linux-gnu-thread-multi

I am lost as I do not understand the error messages and my perl is a bit rusty.
It is also a long time since I contributed to this list, although I read it
every morning.

Any suggestions of what to do?

Regards, Brian.
--
"A Drug is any substance which, when injected into a rat, produces a
publishable, scientific paper"
-- Unknown
Brian Salter-Duke (Brian Duke) Email: brian(DOTjames(DOTduke(AT)gmail(DOT)com
Luis Mochan
2018-03-08 03:02:41 UTC
Permalink
Post by Brian Salter-Duke
Is there a recent version of muttprint? After an upgrade of Ubuntu to 17.10, I
get this error:-
$* is no longer supported. Its use will be fatal in Perl 5.30 at ./bin/muttprint line 1649.
String found where operator expected at ./bin/muttprint line 1693, near "if ($_[0] eq ""
Global symbol "$text" requires explicit package name (did you forget to declare "my $text"?) at ./bin/muttprint line 1650.
Found this on my perl manual (perldoc perlvar):
$* was a variable that you could use to enable multiline matching.
After a deprecation cycle, its magic was removed in Perl v5.10.0.
Using it now triggers a warning: "$* is no longer supported". You
should use the "/s" and "/m" regexp modifiers instead.
Deprecated in Perl 5.
Removed in Perl v5.10.0.
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Apdo. Postal 48-3, 62251 | (*)/\/ \
Cuernavaca, Morelos, México | ***@fis.unam.mx /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
Loading...