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

Re: Problem in displaying files

by Vijay81 (Acolyte)
on Dec 08, 2012 at 17:51 UTC ( #1007909=note: print w/replies, xml ) Need Help??


in reply to Problem in displaying files

you can also try this logic :
while($file = readdir($dh)) { next if $file eq '.'; next if $file eq '..'; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007909]
help
Chatterbox?
[Discipulus]: marioroy this page linked by haukex is interesting. If I get it i'll try to rewrite the algorithm in another way. The inner for loop seems a pity and a possible canditate fot Memoize.pm or a self made cache
[marioroy]: Discipulus Cool. Also cool is seeing "use integer" run 1.36x faster.
[marioroy]: ... on my laptop versus no integer.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-10-24 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?