Per the docs a Null piddle is only valid on the LHS of an assignment statement. Changing this to a feature request since it seems to be more of a discussion regarding how to treat/use Null piddles in inappropriate contexts. Croaking might be more appropriate although, ignoring the specialness of Null piddles and trying to do the right (wrong) thing could be more friendly. API discussion is needed. Please continue discussion on the PDL mailing lists.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Per the docs a Null piddle is only valid on the LHS of an assignment statement. Changing this to a feature request since it seems to be more of a discussion regarding how to treat/use Null piddles in inappropriate contexts. Croaking might be more appropriate although, ignoring the specialness of Null piddles and trying to do the right (wrong) thing could be more friendly. API discussion is needed. Please continue discussion on the PDL mailing lists.
Ticket moved from /p/pdl/bugs/427/
As of 2.073, null inputs cause an exception.