in reply to Problems with String::Parity;

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.

Replies are listed 'Best First'.
Re: Re: Problems with String::Parity;
by dwatson06 (Friar) on Jul 02, 2002 at 17:39 UTC
    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.

        Yes, Just, after the numerous subs (setEvenParity, setOddParity, showParity, EvenBytes & OddBytes). This one is the EDQ right before the 5 subs. I have replaced it with the pm from CPAN. They are the same. Is there a modification I could make there?
        I'm a little lost on this statement.
        eval <<EDQ;