467,168 Members | 968 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,168 developers. It's quick & easy.

Subroutine doubt

While new perl, I have this doubt. Can I pass arguments as below in subroutine?

Expand|Select|Wrap|Line Numbers
  1. &test("error", "occured", $id);
Strings as well as scalars? Please let me know.
Aug 20 '08 #1
  • viewed: 1082
Share:
1 Reply
YEs I could do so. Thanks.
Aug 20 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

By using this site, you agree to our Privacy Policy and Terms of Use.