use strict; my %parms; $parms{"Login Name+"} = "AUSER"; $parms{"Submitted By"} = ""; $parms{"Summary"} = "test test"; print join ( ' AND ', grep { $_ !~ /""$/ } map {"'$_'=\"$parms{$_}\""} keys(%parms) );
In reply to Re: Joining, but skipping the last element
by bikeNomad
in thread Joining, but skipping the last element
by the_slycer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |