I was wondering if perl got the equivalent of php for the coditional check below:
Condition?print "true":print "false";
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 ")?"