Hello There,
I was wondering if perl got the equivalent of php for the coditional check below:
Code:
Condition?print "true":print "false";
Ex:
isset($_)?print "$_":print "\$_ is not set";
When I try to use it it give my the following error:
syntax error at ./shutdown_all line 33, near ")?"