my @lines = $$sess->->
This code simply makes no sense at all.
Your approach of passing the session is the normal way. There is no need to do any special things on the receiving side. You just use $sess in your subroutine as you would use $session in you main program.
In reply to Re: session as function argument in net:telnet:cisco
by Corion
in thread session as function argument in net:telnet:cisco
by mvcorrea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |