In article <20010413174657.00938.00000058@ng-fx1.aol.com>,
sonahl@aol.completeA2Z (Sonahl) wrote:
> Hi, I need help using Perl. I've tried looking through websites, but to no
> avail. See, my program is supposed to search a phonebook depending on certain
> criteria. I was able to create the phonebook, I was able to add entries to the
> phonebook, but now, I don't know how to search the phonebook using the Perl
> script.
You should go to your favorite bookstore and buy one or more of Ora's
<
http://perl.ora.com/> great perl-books to get some fundamental
understanding of perl programming.
> Usually, without a perl script, I'd use the command
>
> grep Ray phonebook
perl -e 'print grep /Ray/, (<>)' < phonebook
perldoc -f grep is your friend
-
gustav
--
Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København
K
+45 33147000, +45 20400005, fax +45 33146200
http://www.netcetera.dk/