Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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 Parity.pm line 49. Compilation failed in require at testit.pl line 5. BEGIN failed--compilation aborted at testit.pl 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;
Re: Problems with String::Parity;
by VSarkiss (Monsignor) on Jul 02, 2002 at 17:20 UTC

    Either the file String/Parity.pm 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.

    HTH

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;
      }

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

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-07-30 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls