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

Do for the real juice:

wc -c *.pm | tail -1

Replies are listed 'Best First'.
Re^3: Large Scale Perl Projects
by merlyn (Sage) on Oct 06, 2009 at 20:49 UTC
    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.

      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.