Filtering and Modifying Directory Listings with File::Util

February 11, 2005 17:17, contributed by: demian

If you need to run directory listings through various filters and transforms, File_Util::listDir is your friend, especially with the recently added callback final arg.

Check out recent Seagull code updates to see the flexibility of the current approach, we need to consolidate all Seagull directory methods in order for next step of front controller to be implemented.

getAllNavDrivers() is the first converted method, it makes use of callbacks, lambda fns and pass-by-ref to update filtered dir listings.

[back to list]

comments


be the first to leave a comment
Enter your comment Note: Comments must be approved before being displayed.
   #    #######   #####   ####### 
  ##    #        #     #  #    #  
 # #    #        #            #   
   #    ######   ######      #    
   #          #  #     #    #     
   #    #     #  #     #    #     
 #####   #####    #####     #     
 

At a Glance

Sponsors

  • Get programming homework help from professionals at Homework-Desk.com anytime!
  • HomeworkPal.com - homework help with biology, physics, math assignments.
  • Having problems with your assignment? Our homework help site can give you a hand with math, physics, programming and much more!
  • Free Usenet Trial
  • ecommerce website new zealand

Login

Username Password

Not Registered?
Forgot Your Password

*denotes required field

Community

 
Seagull PHP Framework

Sponsored by

The Seagull project is sponsored by Seagull Systems, see the range of products offered.

Readers