Re: chomp hash keys?



John W. Krahn wrote:
my %person = grep [ chomp ], <DATA>;

Thanks, John - that is much better. I keep forgetting how useful grep()
can be!

--
http://DavidFilmer.com

.



Relevant Pages

  • Re: grep and man pages
    ... On 2004-09-12, john wrote: ... > man strcpy | grep include ... to display them with bold font) prints something like ...
    (comp.unix.shell)
  • Re: Getting a text file rid of all superfluous blank lines
    ... > man grep ... > -- spambait ... Prev by Date: ...
    (Fedora)
  • Re: find files by date
    ... I know how to get all ".csv" files: ... How do I "grep" files according to the date? ... John ... Perl isn't a toolbox, but a small machine shop where you ...
    (comp.lang.perl.misc)
  • Re: re find a script
    ... with command of Ed Morton: ... grep -n john *.sh is more optimized but not recursive. ...
    (comp.unix.shell)
  • Re: simple regexp question
    ... >John W. Krahn wrote: ... I want to specify what prefixes ... man grep ...
    (comp.unix.shell)