in reply to Perl Script execution while system in locked.
If I recall correctly some things won't work when the screen is locked, what are you trying to do? Things such as screen automation, sending key presses?