in reply to Re: why am i getting script error 500in thread why am i getting script error 500
use strict is warning you that step is a bareword; try using quotes: my $step = param('step');
BTW, use strict is your friend, don't get rid of it!