> sub BEGIN
I think that should just be 'BEGIN {}' as you are wanting to change the
code within the BEGIN block. If BEGIN where really a sub you could
should be able to call it later on in your program but you can't:
---
sub BEGIN {
print 'hello';
}
BEGIN {
print 'world';
}
BEGIN(); # no output ???
&BEGIN(); # Undefined subroutine &main::BEGIN called
---
- Ron
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs