SaveImages @img_sources;
The above will report:
Array found where operator expected
Why can’t I omit the () here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
because your SaveImages subroutine is declared after the call. Parentheses are not necessary if a subroutine is declared before the call.
example:
does not work, while
works.
This is an expected behavior and is pointed out in the camel book.