[mrtg] Re: Perl logic

SCHAAF PETER Peter.Schaaf at icp.siemens.be
Tue Oct 26 16:30:10 MEST 1999


Thanks exactly what I found in the FM. So thanks for your hint (RTFM)!
Why here? We intend to change the MRTG script and I've no idea about Perl,
but an idea how MRTG is better for us!


OK,
Peter.


	-----Original Message-----
	From:	Robin Burger [SMTP:robin.burger at bms.com]
	Sent:	Tuesday, October 26, 1999 3:47 PM
	To:	SCHAAF PETER
	Subject:	Re: [mrtg] Perl logic


	Why are you asking this in MRTG?

	Comparison operators for Perl

	numeric   string
	<            lt                   'less than'
	>            gt                  'Greater than'
	<=          le                  ' less than or equal to'
	>=          ge                 ' greater than or equal to'
	==          dq                 ' equal to'
	!=           ne                 'not equal'

	Logical operators

	&&       and
	||          or

	If you can't figure it out from here... RTFM




	SCHAAF PETER wrote:

	> Hello all,
	> just a question: How can I program such a logic with Perl?
	>
	>         (a < 10 or b > 10) and c = 20 and d = 20
	>
	> Any ideas?
	> Regards,
	> Peter.
	>
	> Peter Schaaf
	> Support Center Engineer
	> Department ITS SC31 - Network/System/Application Management
	> International Support Center Brussels
	>  n.v.
	> Guido Gezellestraat 121 / Building 32/0
	> B-1654 Huizingen
	> Belgium
	>
	> Phone  : +32-2-536.3950
	> Fax      : +32-2-536.6870
	> e-mail  : peter.schaaf at icp.siemens.be
<mailto:peter.schaaf at icp.siemens.be>
	>
	> --
	> * To unsubscribe from the mrtg mailing list, send a message with
the
	>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
	> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list