That looks like it pretty well covers my need. Only other thing I'd find at all useful is a File::Type method, but I can easily call that as part of my wrapper model. It doesn't seem as useful in the generic one.
Thanks again, Dylan > -----Original Message----- > From: Ash Berlin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 09, 2006 1:08 PM > To: The elegant MVC web framework > Subject: Re: [Catalyst] Catalyst::Model::FileSystem? Anybody > who's using their own wanna make one? =) > > > > Catalyst::Model::File: > http://search.cpan.org/~ash/Catalyst-Model-File-0.02/lib/Catal > yst/Model/File.pm > > Based on Path::Class, so its platform independent. > > Any features missing from that that you think you'd want? > > Ash > > Dylan Vanderhoof wrote: > > I've noticed a few people posting about fielsystem models > under their > > Catalyst applications lately, which makes a good deal of > sense for many > > applications. > > > > However, when I look at code, each one has the filesystem > calls fairly > > integrated with the model portion of the application. > > > > I'll admit I'm being lazy, since I'd like to write a > fs-based catalyst > > application relativly soon, but has anybody considered using their > > groundwork here to write a Catalyst::Model::FileSystem > module for CPAN? > > > > > > Obviously, it would need to be more generic and more > full-featured than > > what's being used in the fs-based applications I've seen so > far, but it > > needn't start with everything available. > > > > Any interest? I'd be happy to help out, since I'd like to > use it, but I > > figure I'd see if somebody who's been doing this would be > willing to lay > > some of the groundwork. > > > > -Dylan Vanderhoof > > > > _______________________________________________ > > List: Catalyst@lists.rawmode.org > > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > > Searchable archive: > http://www.mail-archive.com/catalyst@lists.rawmode.org/ > > Dev site: http://dev.catalyst.perl.org/ > > > > > > _______________________________________________ > List: Catalyst@lists.rawmode.org > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.rawmode.org/ > Dev site: http://dev.catalyst.perl.org/ > _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/