From owner-freebsd-questions Sun Mar 24 11:46:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f140.law11.hotmail.com [64.4.17.140]) by hub.freebsd.org (Postfix) with ESMTP id 7FF9537B404 for ; Sun, 24 Mar 2002 11:46:27 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Mar 2002 11:46:27 -0800 Received: from 68.6.86.185 by lw11fd.law11.hotmail.msn.com with HTTP; Sun, 24 Mar 2002 19:46:27 GMT X-Originating-IP: [68.6.86.185] From: "Charles Burns" To: ilia@chel.skbkontur.ru, questions@FreeBSD.ORG Subject: Re: Perl thing Date: Sun, 24 Mar 2002 12:46:27 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Mar 2002 19:46:27.0315 (UTC) FILETIME=[96363C30:01C1D36C] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG IANAPP (Perl Programmer) but I know that Perl is great for text parsing. One way that you could do this, though it wouldn't exactly be elegant, would be to parse the output of (say) dmesg. Surely though, there are better ways. >Dear Sirs, > >is there anything that I could use it in perl program like I can write in >C: > >#ifdef __FreeBSD__ > >#endif > >??? > >I want to port some perl program that it could run either on FreeBSD or >any other system... _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message