in reply to whats wrong with my sub-routine ??
Perhaps you meant $terminal->[0]?
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.