in reply to Re: Finding modules
in thread Finding modules

A slight modification on this so you don't get error messages would be to do:
$ find / -name Simple.pm 2>/dev/null $ find / -name Sendmail.pm 2>/dev/null

And I'm certain it could be done in one line with a regexp :-)


"Ex Libris un Peut de Tout"

Replies are listed 'Best First'.
Re: Finding modules
by b10m (Vicar) on Jan 28, 2004 at 14:33 UTC
    And I'm certain it could be done in one line with a regexp :-)

    You asked for it! ;)

    find / -regex '.*S\(imple\|endmail\)\.pm$' 2>/dev/null
    --
    b10m

    All code is usually tested, but rarely trusted.