in reply to set proto string
#!/usr/bin/perl use warnings; use strict; use String::Interpolate; my @a; my $proto = 'String::Interpolate'->new({'a' => \@a}); @a = (1, 2); print $proto->('@a 3 4'); # 1 2 3 4
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: set proto string
by vincentaxhe (Scribe) on Aug 20, 2024 at 16:35 UTC |