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

Re: using basename on a list of filesnames

by roboticus (Chancellor)
on Nov 13, 2019 at 03:46 UTC ( #11108607=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    @list_of_names = map { rm_first_3_chars($_) } @list_of_names;
    
    print join(", ", @list_of_names), "\n";
    
  2. or download this
    $ perl flp.pl
    d, liam, niapple
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-07-04 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?