in reply to The Apostrophe According To St Paul

I don't know this module, but based on your desciption, you want:

my $dir = "/foo"; parse_dir(`ls -l $dir`);

The backquote operator is described in perlop, but briefly, it executes an external command, capturing its (standard) output.

HTH,

print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!

Replies are listed 'Best First'.
Re^2: The Apostrophe According To St Paul
by paulpi (Initiate) on Jul 03, 2004 at 16:39 UTC
    Why didn't I just try it like that?! I'd very much like to honour you properly but my brain clearly is on holiday so I'll keep it simple: THANKS A LOT SIDHEKIN - YOU'RE MY HERO!!