in reply to session as function argument in net:telnet:cisco
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: session as function argument in net:telnet:cisco
by mvcorrea (Novice) on Nov 16, 2013 at 18:29 UTC | |
by AnomalousMonk (Archbishop) on Nov 16, 2013 at 18:39 UTC |