in reply to Re: Accessing single element without args
in thread Accesing single element without args
The problem here is i can't modify interface_control. It is a global sub which is accessed by many users
@r, has list of routers r[0]....rn, . I want to display output only for r[0] and not for other router
If u see the below code ( under sub interface_control), i want to print blah only for r[0]. If i call interface_control($s), it may end up printing for all routers
foreach my $rh (@r) { print ("blah blah");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Accessing single element without args
by Athanasius (Archbishop) on Mar 31, 2015 at 04:02 UTC | |
by Anonymous Monk on Mar 31, 2015 at 04:18 UTC | |
by Athanasius (Archbishop) on Mar 31, 2015 at 06:09 UTC | |
by Anonymous Monk on Mar 31, 2015 at 06:39 UTC | |
|
Re^3: Accessing single element without args
by Anonymous Monk on Mar 31, 2015 at 03:49 UTC |