Wiggins has asked for the wisdom of the Perl Monks concerning the following question:
This will not compile, as I want; a string of the 2 variables surrounded by underscores "_A_B_".my $v1 = 'A'; my $v2 = 'B' my answer is "_$v1_$v2_";
It is always better to have seen your target for yourself, rather than depend upon someone else's description.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A simple question that can't be asked
by golux (Chaplain) on Oct 27, 2017 at 16:35 UTC | |
|
Re: A simple question that can't be asked
by Laurent_R (Canon) on Oct 27, 2017 at 17:38 UTC | |
|
Re: A simple question that can't be asked
by Paladin (Vicar) on Oct 27, 2017 at 16:36 UTC | |
|
Re: A simple question that can't be asked
by kcott (Archbishop) on Oct 27, 2017 at 21:58 UTC | |
|
Re: A simple question that can't be asked
by karlgoethebier (Abbot) on Oct 27, 2017 at 20:08 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |