"Rob Dixon" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] wrote:
&closeFtpConn ( $MVSFTP );
Don't use the ampersand notation unless you specifically need it. If you
don't know what it does differently then you don't need it!
closeFtpConn($MVSFTP);
is the syntax to use.
Why? To quote "Programming Perl":
The official name of a subroutine includes the & prefix.
A subroutine may be called using the prefix, but the &
is usually optional.
When used with parentheses, the & does nothing
differently. Including it makes clear that the sub is
user-defined.
Regards,
Martin
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs