Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Using regex in file glob ?

by jdporter (Paladin)
on May 03, 2021 at 21:19 UTC ( [id://11131995]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using regex in file glob ?
in thread Using regex in file glob ?

perl -lE"opendir$d,'.';say for grep/\.pl$/,readdir$d"

Replies are listed 'Best First'.
Re^5: Using regex in file glob ?
by LanX (Saint) on May 03, 2021 at 21:54 UTC
    > perl -E"say for grep{/\.pl$/} <*>" demo_lock_data.pl print_time.pl self_rename.pl uniq_time.pl wrapped_pl.pl

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-28 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found