http://www.perlmonks.org?node_id=799591


in reply to Re^2: Large Scale Perl Projects
in thread Large Scale Perl Projects

Even better, if I wasn't curious about the individual items, I would have done:
$ cat **/*.pm | wc -l

Followup: see Re^5: Large Scale Perl Projects.. this syntax means something in bash and zsh.

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Replies are listed 'Best First'.
Re^4: Large Scale Perl Projects
by MidLifeXis (Monsignor) on Oct 06, 2009 at 21:42 UTC

    Ok, why the '**'? There has to be a reason over '*'.

    --MidLifeXis

      In my zsh shell, **/*.pm acts like $(find * -name '*.pm' -print)

      -- Randal L. Schwartz, Perl hacker

      The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.