Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^5: How to add an exceptio for"for loop"

by AnomalousMonk (Archbishop)
on Mar 21, 2011 at 11:05 UTC ( [id://894474]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How to add an exceptio for"for loop"
in thread How to add an exceptio for"for loop"

Insofar as I understand what you're trying to do, it looks OK:

>perl -wMstrict -le "my @folders = qw(foo .foo foo.bar foo. . .. ...); ;; foreach my $folder (grep { $_ ne '.' } @folders) { printf qq{'$folder' }; } " 'foo' '.foo' 'foo.bar' 'foo.' '..' '...'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-19 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found