Rodney Wise wrote: > George, > > # Get the Data Number > &get_number;
Avoid using the &function_name until you are a Perl expert, and know exactly why you are using it. That is a call to the subroutine, but not the one to be used under normal circumstances. > # Get Form Information > &parse_form; To predeclare a subroutine, do: sub my_sub_name(); # taking no parameters sub my_sub_name2($); # taking one scalar parameter sub my_sub_name(@); # taking an array or list parameter sub my_sub_name3($$); #t aking two discrete scalar parameters sub my_sub_name4($@); # taking one discrete scalar parameter, then a list or array sub my_sub_name5($$@); # taking two discrete scalar parameters, then a list or array Once declared this way the sub definition should have a header that exactly matches the declaration. You may find in Perl that sub declarations are not as helpful as in C.They definitely get in the way wjhile developing the sub, because they create an extra, and remote reference thatmust be modified any time you change the way the function takes its parameters. Once a sub definition is completed and stable, they may help in error-checking, by ensuring that all calls to the function have the correct number of arguments. It is up to you. Function signatures are not mandatory in Perl, and I seldom see them used, but they are available. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]