in reply to Successful returns Unsuccessful

Thankyou all. I feel like a dunce, but a more educated dunce!

I can't believe I've not hit this before. Looking over my scripts though I can see why. I always used to issue
$result = `command`; then evaluate $result to see if it had worked. Also I've never issued a command before that returns nothing when successful (NT is normally fairly verbose). Here I've changed my coding style together and have tripped over my own shoelaces.

I will try to look system documentation again. I'm not too hot on Perls in built variables. I've got the hang of $_ but not a lot else, what should I feed into perldoc to gain enlightenment?

Replies are listed 'Best First'.
Re: Re: Successful returns Unsuccessful
by g30fish (Novice) on Mar 10, 2003 at 17:43 UTC
    >> what should I feed into perldoc to gain enlightenment?

    "perldoc perlvar" will help.