jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
Now, lets say $e is a 10 digit number representing the position inside this string of the word added by variable $x. However I only know $e when I've added $w(because I can calculate the length of the string)$str = $a.$b.$c.$d.$e.$f.$g etc $w.$x.$y.$z ;
Although I know that this examples doesn't do what I need, I would like it to print: blablaXXXblabla$a = '' ; $str = "blabla${a}blabla" ; $a = "XXX" ; print "$str\n" ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Create string with a delay
by davorg (Chancellor) on Jun 14, 2006 at 12:34 UTC | |
|
Re: Create string with a delay
by eric256 (Parson) on Jun 14, 2006 at 13:28 UTC | |
|
Re: Create string with a delay
by diotalevi (Canon) on Jun 14, 2006 at 13:54 UTC | |
by Anonymous Monk on Jun 14, 2006 at 20:14 UTC | |
by diotalevi (Canon) on Jun 14, 2006 at 20:24 UTC | |
|
Re: Create string with a delay
by Zaxo (Archbishop) on Jun 14, 2006 at 14:39 UTC | |
|
Re: Create string with a delay
by Tanktalus (Canon) on Jun 14, 2006 at 13:06 UTC | |
by jeanluca (Deacon) on Jun 14, 2006 at 13:14 UTC | |
|
Re: Create string with a delay
by rodion (Chaplain) on Jun 14, 2006 at 16:34 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |