Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Large Scale Perl Projects

by merlyn (Sage)
on Oct 06, 2009 at 20:49 UTC ( #799591=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^3: Large Scale Perl Projects
Download Code
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://799591]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-07-31 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls