Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 12:36:06 +1100
From:      Chris Aitken <chris@ideal.net.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Perl on FreeBSD
Message-ID:  <5.1.0.14.2.20011113122701.03794a68@mail.ideal.net.au>
In-Reply-To: <5.1.0.14.0.20011112171053.00a63d90@mail.maden.org>
References:  <20011113005355.GA36434@mercury.itworks.com.au> <5.1.0.14.2.20011113111839.03949520@mail.ideal.net.au> <5.1.0.14.2.20011113111839.03949520@mail.ideal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:15 PM 12/11/2001, Christopher R. Maden wrote:

>#!/usr/bin/perl -w
>
>use strict; # always use strict
>
>while ( <STDIN> ) # Read one line at a time from input or console.
>{
>    print $_;  # Print the line that was read to stdout.
>}

Thanks to everyone who helped out on this. Basically, I was able to use a 
combo of all the replies, and was able to put it into a nice tidy little 
while loop, splitting all the data into variables and using the variable I 
needed.


Cheers


Chris


--
     Chris Aitken - Administration/Database Designer - IDEAL Internet
  email: chris@ideal.net.au  phone: +61 2 4628 8888  fax: +61 2 4628 8890
              __-----------------------------------------__
                      # ln -s /dev/null /bin/laden
          If you don't like my typing, all flames to /bin/laden


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20011113122701.03794a68>