Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to search in an array "@folders",one of the element of the array is a dot".",I want to run a loop on the array elements in @folders except "."How can I do that?
foreach $mk (@folders) #except "." { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to add an exceptio for"for loop"
by ikegami (Patriarch) on Mar 21, 2011 at 05:12 UTC | |
|
Re: How to add an exceptio for"for loop"
by NetWallah (Canon) on Mar 21, 2011 at 04:30 UTC | |
by Anonymous Monk on Mar 21, 2011 at 04:55 UTC | |
by ELISHEVA (Prior) on Mar 21, 2011 at 05:05 UTC | |
by Anonymous Monk on Mar 21, 2011 at 05:25 UTC | |
by AnomalousMonk (Archbishop) on Mar 21, 2011 at 11:05 UTC | |
|
Re: How to add an exceptio for"for loop"
by wind (Priest) on Mar 21, 2011 at 05:14 UTC | |
|
Re: How to add an exceptio for"for loop"
by toolic (Bishop) on Mar 21, 2011 at 12:36 UTC |