[ABE.pm] Perl just blows me away...

Phil R Lawrence phil at five-lawrences.com
Fri Feb 6 16:17:13 CST 2004


Faber Fedor wrote:

> I just wrote the short script below tp parse the data file.  I freaking
> LOVE how Perl builds the data structure for me!

Yep.  I heard someone once say that they like programming in Perl 
because "Perl fits my mind like a glove."

This sort of stuff is wonderfully easy with Perl.

> 
> my ($CARFILE) = @ARGV  ;
> my ($inf, @fields, %cars, $car, $cat) ;
> 
> open($inf, "< $CARFILE");
> 
> while( <$inf> ) {

Why not (<>)?


prl



More information about the ABE-pm mailing list