[mrtg] Possible precedence problem on bitwise | operator SOLUTION!!!

Croson, John JCroson at ramart.org
Tue Sep 30 18:22:19 MEST 2003

Dug around on Google, and it appears my previous post to this group was right. Perl updated to (RedHat 8, 9) perl-5.8.0-88.3 and it appears that this is a "feature" of Perl. The "precedence problem" is a warning from Perl, not an error on MTRG's part.

Got my first clue here:

And then the solution here:

Just do:
vi +619 /usr/lib/../mrtg2/BER.pm
Edit so it looks like this:
    #return error ("Sequence expected") unless $result == sequence_tag | constructor_flag;
    return error ("Sequence expected") unless $result == sequence_tag or constructor_flag;
commenting out the original line, and using the WORD or instead of the bitwise operator | ...................:D

John Croson
Technology Operations Manager
Wustum Museum
Racine Art Museum
441 Main Street
Racine, WI 53405
262-638-8300 ext. 104
fax 262-898-1045

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list