Actually XChat also has a text version (console based that is) so you dont really need VNC. Perl scripts work equally well in that version since it's just a text based front-end instead of a X based one.
Greetz
Beatnik
...Perl is like sex: if you're doing it wrong, there's no fun to it.