The perl subroutine characters allowed are here:
http://oreilly.com/catalog/lperl3/chapter/ch04.html. [i]The name of a
subroutine is another Perl identifier (letters, digits, and underscores, but
can't start with a digit) with a sometimes-optional ampersand (&) in front.[/i]
Test program:
#/usr/bin/perl
use warnings;
print "Hello\n";
exit; # Exit main
sub do-some
{
my $i=1;
return;
}
sub whats_this
{
my $i=2;
return;
}
sub another3-test
{
my $i=3;
return;
}
--
<http://forum.pspad.com/read.php?4,62755,62757>
PSPad freeware editor http://www.pspad.com