develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #119459] Compilation error at /usr/share/perl/5.14/ line 447

Thread Previous
James E Keenan via RT
August 26, 2013 00:09
[perl #119459] Compilation error at /usr/share/perl/5.14/ line 447
Message ID:
On Sun Aug 25 08:30:00 2013, wrote:
> -----------------------------------------------------------------
> [Please describe your issue here]
> There must be error in core of Perl. I do have 7500 lines in the
> script. However, even a slightest change, like missing colon or
>    ampersand
> or syntax error may lead to following:
> Compilation error at /usr/share/perl/5.14/ line 447.
> And that is not what should happen.
> Even just checking the syntax with perl -c gives above error
> message. It becomes impossible to know what is wrong in the script.
>    One
> has to go manualy and search for the syntax error as perl does not
>    tell
> what was the real error message.

You have not provided us with any information which we can use to help
you.  You have some compilation error in your program.  I have a hunch
it's utf8-related, but other than that I can only speculate.

I recommend the following:

* 7500 lines is too long for almost any program to be effectively
debuggable or even understandable.  Where possible, extract blocks of
code into subroutines, then place those subroutines into modules whose
compilation you can test independently of each other.

* Seek help by posting on a mailing list more geared than this one is
toward debugging particular programs. is one possibility.

Thank you very much.
Jim Keenan

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About