Re: How to use Command (really how to find files in current source dir)

Gary Oberbrunner <[email protected]> Thu, 23 Jan 2003 09:46:03 -0500
Newsgroups gmane.comp.gnu.cons.general
Message-ID <[email protected]>
Here's a working example.  In one of my Conscripts I have this:

   ($mydir = SourcePath("Conscript")) =~ s|[\\/]Conscript||;
   @files = glob("$mydir/*.Preset");

This finds all the .Preset files in the current source dir.  Hope that 
helps!

-- Gary




_______________________________________________
[email protected]
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/