oryann9 wrote: > --- Chas Owens <[EMAIL PROTECTED]> wrote: >> >>This should work >> >>perl -ne 'print unless $h{(split/:/)[0]}++' > > This is creating a anonymous hash, correct?
No, incorrect. The hash is named %h. John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/