maddfisherman has asked for the wisdom of the Perl Monks concerning the following question:
$xtemplate = join("", @xtemplate); @template = $xtemplate =~ /^(.*?)\*{4}filename.ext\*{4}/sg; push (@template, $xtemplate =~ /\*{4}filename.ext\*{4}(.*?)\*{4}title\ +*{4}/sg; push (@template, $xtemplate =~ /\*{4}title\*{4}(.*?)\*{4}headings\*{4} +/sg; push (@template, $xtemplate =~ /\*{4}headings\*{4}(.*?)/sg; for ($i=0; $i <= (@filenames-1); $i++) { open(FILE, ">@filenames[$i]") or die; print FILE QQ(@temlate[0] @title[$i] template[1] @heading[$i] temp +late[2] @stuff[$i] @template[3]); close(FILE); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: compilation errors
by HyperZonk (Friar) on Aug 22, 2001 at 03:12 UTC | |
|
Re: compilation errors
by little (Curate) on Aug 22, 2001 at 03:14 UTC | |
|
Re: compilation errors
by runrig (Abbot) on Aug 22, 2001 at 03:12 UTC | |
|
Re: compilation errors
by maddfisherman (Sexton) on Aug 22, 2001 at 03:21 UTC | |
by tachyon (Chancellor) on Aug 22, 2001 at 03:57 UTC | |
by little (Curate) on Aug 22, 2001 at 03:42 UTC |