in reply to Re^2: system/exec and %ENV
in thread system/exec and %ENV

Unrelated to your original question, but calling out to a shell to get a listing of files is very Rube-Goldberg-ian. See opendir and readdir (and possibly stat if you're interested in the file properties ls -l shows).

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^4: system/exec and %ENV
by eosbuddy (Scribe) on Jul 16, 2008 at 17:23 UTC
    Thanks Hue-Bond and Fletch for your insights. As I mentioned, I am a n00b and "learning perl ... randal et al" and was trying out the commands in the book. As is characteristic n00bishness, I hadn't read the material immediately following the exec treatment (I assumed it to function much like the php directive). Thanks all for the kind help (and not yelling at me to go read the book :-) )