in reply to Re^2: Image rotation with GD: counter or clockwise?
in thread Image rotation with GD: counter or clockwise?

> so it will be stupid to pass 0

It's better not to expect software (or users) to be smart, even in a draft.°

> to my SSCE

why does an SSCCE even need defaults?

> // is available iirc since 5.14

defined or $#ARGV are older.*

FWIW: I don't support KGB's tone here, I'm just saying playing safe is easy here.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) I have similar discussion regularly with my clients:

Half a year later

updates

*) BTW 5.10.0 https://perldoc.pl/perl5100delta#Defined-or-operator