Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Problems with String::Parity;

by dwatson06 (Friar)
on Jul 02, 2002 at 17:12 UTC ( #178911=perlquestion: print w/ replies, xml ) Need Help??
dwatson06 has asked for the wisdom of the Perl Monks concerning the following question:

I am having problems using the String::Parity module. When I include it in my Perl script, I am getting the following error...

Can't find string terminator "EDQ" anywhere before EOF at line 49. Compilation failed in require at line 5. BEGIN failed--compilation aborted at line 5.

Line 5 is-- use String::Parity;
Is anyone familiar with this error. I have tried searching this error on Google with no luck. Am I missing the obvious out of frustration? :o(
Thank you

Comment on Problems with String::Parity;
Replies are listed 'Best First'.
Re: Problems with String::Parity;
by VSarkiss (Monsignor) on Jul 02, 2002 at 17:20 UTC

    Either the file String/ is corrupted, and you should download it again, or it has the wrong type of line endings for your system (Win32/Unix), and you should download it again.

    If you're not using the CPAN module for downloading, make sure the file transfer is set up to "do the right thing" with line endings.


Re: Problems with String::Parity;
by Aristotle (Chancellor) on Jul 02, 2002 at 17:20 UTC
    It's got a typo in the source apparently. Let me take a look at it.. Update: Hmm no, the copy I just fetched from CPAN works fine. What platform are you on and how did you install it?

    Makeshifts last the longest.

      I am using ActiveState. I have the same version on another server which gives the same error also. It's the eval<<EDQ here...
      my $even_codes = '';
      while ($even_bits =~ /\0/g) {
      $even_codes .= sprintf '\%o', (pos $even_bits) - 1;

      I am using another version of it locally now, still getting the same error.
        The indented part below that should end with
        EDQ die $@ if $@;
        Does it?

        Makeshifts last the longest.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-11-27 14:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls