On Tue, Aug 14, 2001 at 04:03:51PM -0400, [EMAIL PROTECTED] wrote:
> When I run the script it queries the router, writes to the file and prints
> nothing.  This is where I'm frustrated.  Even though I know for sure there
> is something in that file, nothing is matched and printed.
>
> If I put sub list_active in it's own script by its lonesome, all is well.

I see.  It may very well be that the data is not flushed to the log file
until the $command object is destroyed.  Have you tried taking my suggestion
regarding declaring $command within the subroutine it's used in?  If not, do
so.  That may fix your problem.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to