B
Brad Walton
This is probably simple for the experienced Perl programmer, but as I
am learning, and hours of searching has led to nothing, this one has
tied me up long enough... So I could use a little assistance.
I am trying to consolidate the following 2 lines, into 1 line.
$missionname = $check[1];
$missionname =~ s/.mis//;
I am trying to find a way to assign $missionname the same value as
$check[1], and remove '.mis' from the variable, in one expression.
This is really an efficiency issue, and also a learning experience for
me.
Thanks for any help,
Brad
am learning, and hours of searching has led to nothing, this one has
tied me up long enough... So I could use a little assistance.
I am trying to consolidate the following 2 lines, into 1 line.
$missionname = $check[1];
$missionname =~ s/.mis//;
I am trying to find a way to assign $missionname the same value as
$check[1], and remove '.mis' from the variable, in one expression.
This is really an efficiency issue, and also a learning experience for
me.
Thanks for any help,
Brad