[EMAIL PROTECTED] wrote: > > Gurus, > > What will end up in $return when the following line executes? I've got > $5 that says it gets NOTHING. Am I right or wrong? > > $return = `java netman.client.NetMan_Request > ...[arguments]... > 2> /usr/local/log/test.system_messages.log > > /usr/local/log/nm_req.log`; > > Thanks! >
I'd have thought you wouldn't get anything unless it failed? 2> redirects the STDERR to a file and > will redirect STDOUT leaving nothing to return to $return, unless maybe it fails and returns an exit code? However, I'm not expert! :-P Nath _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
