in reply to Re^2: function like GetOption
in thread function like GetOption

how can i call the value for 'c' from '2' for eg?

You are new to perl? The following will print the value of 'c' for channel 2:

print $channels{2}{c};

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.