is there a one liner that actually returns what i specify directly without having to write a conditional statement?my $productcode = "FCLA"; if($productcode =~ /^FCL/){ $productcode = "FCL"; }
In reply to Re: get a text out from a string
by adrive
in thread get a text out from a string
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |