in reply to Re: List::BinarySearch and conditional tests with Test::More
in thread List::BinarySearch and conditional tests with Test::More
Thank you tobyink.
Anyway, I thought that the idiom of calling a function with ampersand as something not used anymore.
Doing a bit of reasearch I found this blog. As I'm always calling a function with "()" I never had any problem with that.
Anyway... why the & operator is needed in this case? Since I already imported the module with require the code of the function should be already available...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: List::BinarySearch and conditional tests with Test::More
by tobyink (Canon) on Dec 01, 2014 at 07:51 UTC |