K
Ken Sington
ok it works, but what do you call this:
the eq test in this ternary op.
$answer = $test eq "value" ? "true" : "false";
or
the function in this if:
if ( myFnct("blah") ){
# it works
}
or
the uc($a) in the split. or squeezing all that inside
the sort
@temp = sort {
my $aa=(split '\|',uc($a), $colW)[$colZ];
my $bb=(split '\|',uc($b), $colW)[$colZ];
$aa=~ s/\W+//g;
$bb=~ s/\W+//g;
$aa cmp $bb;
} @db;
the eq test in this ternary op.
$answer = $test eq "value" ? "true" : "false";
or
the function in this if:
if ( myFnct("blah") ){
# it works
}
or
the uc($a) in the split. or squeezing all that inside
the sort
@temp = sort {
my $aa=(split '\|',uc($a), $colW)[$colZ];
my $bb=(split '\|',uc($b), $colW)[$colZ];
$aa=~ s/\W+//g;
$bb=~ s/\W+//g;
$aa cmp $bb;
} @db;