in reply to Javascript to Perl = fail

Just the first thing I noticed: The first argument of a subroutine is $_[0], not $_[1].

Replies are listed 'Best First'.
Re^2: Javascript to Perl = fail
by Anonymous Monk on May 04, 2012 at 21:55 UTC
    thanks i changed it now.. more problems to solve now.. :/