Topic: Doing files

Topic: Doing files

If you want to test your scripts you probably don't want to reconnect
to the server everytime you changed something. To achive this you
can use the perl 'do' command. Perl will give quite a lot of warnings
when redefining functions, but the output will basically be what you
meant. For example, if you changed something within the bt3030.pl script
just type #do 'bt3030.pl' at the input line and the script will be
reloaded. If you care about parsing errors within your script
(which you probably do :) then there's a parse command that basically
tests the $@ variable after executing the do command and writing
an error message if there was something wrong. So the recommended
way to test your scripts is #parse 'bt3030.pl'.

KDE Logo