Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^5: Generate the perl sequence 1, 11, 111, ....

by matrixmadhan (Beadle)
on Oct 14, 2008 at 08:41 UTC ( #716918=note: print w/replies, xml ) Need Help??

in reply to Re^4: Generate the perl sequence 1, 11, 111, ....
in thread Generate the perl sequence 1, 11, 111, ....

Please pardon my ignorance. Only after replying to another reply - I realized that I should not have done that instead it should have been a direct reply. In most of the forums there isn't any concept of direct/indirect replies, so I was not aware of that. Next time, I will make sure about direct or indirect reply accordingly before posting. Sorry again.
  • Comment on Re^5: Generate the perl sequence 1, 11, 111, ....

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://716918]
[1nickt]: thezip use Path::Tiny. @paths = path("/foo")-> children; (Excludes "." and ".." automatically.)
[1nickt]: (Also takes a compiled regexp as an arg to filter the list)
[1nickt]: For multiple dirs use iterator(): $it = path("/foo")-> iterator; while ( my $path = $it->() ) {...}

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-03-28 18:43 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (339 votes). Check out past polls.