- or download this
my $foo= (my $bar = localtime)?("$bar hello"):("FAILED!");
- or download this
Global symbol "$bar" requires explicit package name at ./scope.pl line
+ (whatever)
- or download this
print do { if(my $bar = localtime){ "$bar hello"}else{ "FAILED!" } };