> I've tried placing [ ] around each variable,
Stop, don't run and read "perlre" before you trying to use any special
regex characters.
When you put characters inside [] it means "any character" and it doesn't mean
"the whole word"
[abcd] = "a or b or c or d" and not "abcd"
> using the || ope
On Jun 13, Carl Rogers said:
>Good afternoon;
>I have a dumb question: I'm working with the following:
>
>$line = "Joe Doe 123 Main St. Sometown, USA";
>
>I have parsed the line to assign the values to the following variables:
>
>$fname = "Joe";
>$lname = "Doe";
>$addr = "123 Main St.";
>
>I'm tr
Good afternoon;
I have a dumb question: I'm working with the following:
$line = "Joe Doe 123 Main St. Sometown, USA";
I have parsed the line to assign the values to the following variables:
$fname = "Joe";
$lname = "Doe";
$addr = "123 Main St.";
I'm trying to use the substitution operator to d