$c is being assigned a value from @_.
However, "@_" is not assigned a value.
@_ might me beaningful inside a subroutine (passed parameters), but your code does not show any "sub", so @_ is empty, and perl's complaint is reasonable, since $c does not contain any value (it is undef).
Your intentions for this code have not been expressed , and the code provided does not offer any clues, so we will not be able to assist.
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
-- Dr. Cox, Scrubs
In reply to Re: Perl Error - Can't call method "session" on an undefined value
by NetWallah
in thread Perl Error - Can't call method "session" on an undefined value
by manukm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |