#!/usr/bin/perl# your code goes here @test = (2); if (scalar @{$test}) { print "true";} else { print "false";}
Standard input is empty
false
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!