in reply to Variable Interpolation
my $string = "cheese"; my $need_to_interpolate = "smell my %s\n"; printf $need_to_interpolate, $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Variable Interpolation
by ww (Archbishop) on Apr 29, 2005 at 20:19 UTC | |
by trammell (Priest) on Apr 29, 2005 at 20:49 UTC | |
by ww (Archbishop) on Apr 29, 2005 at 20:56 UTC |