Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Problem in displaying files

by eyepopslikeamosquito (Chancellor)
on Dec 08, 2012 at 22:28 UTC ( #1007933=note: print w/ replies, xml ) Need Help??


in reply to Problem in displaying files

I normally use grep for this:

@files = grep { $_ ne '.' && $_ ne '..' } readdir DIR;


Comment on Re: Problem in displaying files
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-02-06 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (236 votes), past polls