Hi Bruno,

Bruno Haible <br...@clisp.org> writes:

> Can this be rewritten in a simpler way, that does not use idioms
> from perl's bag of tricks? Something like
>
>   my $copyright_year = <some_expression>;
>
> like one would do it in every other programming language?

Not sure. I'm not the most knowledgeable perl programmer. Maybe
something like this is more clear?

    my $copyright_year = (split ("-", $VERSION))[0];

or perhaps someone else has a better idea.

Collin

Reply via email to