in reply to Reading specific files from a directory

Sure, read from <example*.txt>. See perlman:perlop for details (second page).
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Replies are listed 'Best First'.
Re: Re: Reading specific files from a directory
by Lexicon (Chaplain) on Mar 13, 2001 at 07:49 UTC
    Is there a way to get back what that * was equal to? This looks nice and tidy and convenient, but I'll need the * for later, so I was just wondering.

    Update - Oh. <example*.txt> returns the filenames which map it, not the text of the files themselves. Something just didn't click the first time I read this.

    -Lexicon