470,815 Members | 1,256 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Subroutine doubt

89
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
1 1130
lilly07
89
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.