in reply to Undefined subroutine &main::

On line 42, try changing
getvalue1{ print "$email : $token"; }
To:
sub getvalue1{ print "$email : $token"; }
EDIT: When I were replying, there were no responses lol

Replies are listed 'Best First'.
Re^2: Undefined subroutine &main::
by Anonymous Monk on Aug 24, 2015 at 05:13 UTC
    Thanks mate.

    I think I need rest. I also don't know how can I do this? A bad day for me :(