But you're not using defined on an array, you're using defined on an array slice. perldoc -f defined is silent on what this does
Considering that an array slice still returns an array I'd say the behaviour would be the same and should be considered depreciated. The only exception I see is if the slice is just one element, then you are performing defined on a scalar which I assume is still okay. :)
Chris
Lobster Aliens Are attacking the world!In reply to Re: Re: defined array question
by cfreak
in thread defined array question
by toadi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |