Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Compilation error at /usr/share/perl/5.14/utf8_heavy.pl 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/utf8_heavy.pl line 447
What is strange, I did undo to the point where it was working all fine, and this is yet again showing.

Comment on Compilation error at /usr/share/perl/5.14/utf8_heavy.pl line 447
Download Code
Re: Compilation error at /usr/share/perl/5.14/utf8_heavy.pl line 447
by Loops (Hermit) 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/utf8_heavy.pl line 447
by davido (Archbishop) on Jun 27, 2013 at 21:38 UTC

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

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

    I only spent a couple of minutes looking at the (disturbingly ugly) utf8_heavy.pl 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.


    Dave

      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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041047]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-08-30 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls