Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Compilation error at /usr/share/perl/5.14/ line 447

by PerlBroker (Acolyte)
on Jun 27, 2013 at 16:26 UTC ( #1041047=perlquestion: print w/replies, xml ) Need Help??
PerlBroker has asked for the wisdom of the Perl Monks concerning the following question:

Suddenly I cannot continue working on Perl program, as I get that strange error:
Compilation error at /usr/share/perl/5.14/ line 447
What is strange, I did undo to the point where it was working all fine, and this is yet again showing.

Replies are listed 'Best First'.
Re: Compilation error at /usr/share/perl/5.14/ line 447
by Loops (Curate) on Jun 27, 2013 at 16:53 UTC

    You didn't undo all the changes. Something is still broken. Unfortunately, nobody here will be able to tell you what is wrong unless you make the script available for inspection.

Re: Compilation error at /usr/share/perl/5.14/ line 447
by davido (Archbishop) on Jun 27, 2013 at 21:38 UTC

    Here's line 447 of on my version of Perl 5.14:

    $list = do $file; die $@ if $@;

    I only spent a couple of minutes looking at the (disturbingly ugly) code, but gather that $file is supposed to be a code file of utf8 definitions of some sort. In your case, $file contains something that your version of Perl can't compile.

    Did someone screw up your system Perl by attempting to manually install some upgraded components? That's what it looks like to me.


      Thank you, I found what it was, the problem was that I used something like:
      $page_content{$image} = edit_string("CONTENT\n=====\n\n");
      Without my %page_content However, I wonder why I don't get normal perl errors, but have to find out myself what is wrong.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041047]
Approved by davido
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-01-18 06:00 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.