Re: [e-smith-devinfo] Perl error: "Modification of a read-only value attempted ..."

2003-09-24 Thread Robert van den Aker
On Tue, 23 Sep 2003, Michael P. Soulier wrote: > On 23/09/03 Robert van den Aker did say: > > > But if I run atalk-conf, which contains > > > > foreach (qw( > > ... > > papd.conf > > ... > > )) > > { > > esmith::util::processTemplate ({ > > ... > > TEMPLATE_PATH => "/et

Re: [e-smith-devinfo] Perl error: "Modification of a read-only value attempted ..."

2003-09-23 Thread Michael P. Soulier
On 23/09/03 Robert van den Aker did say: > But if I run atalk-conf, which contains > > foreach (qw( > ... > papd.conf > ... > )) > { > esmith::util::processTemplate ({ > ... > TEMPLATE_PATH => "/etc/atalk/$_" > }); > } > > the following error gets wr

[e-smith-devinfo] Perl error: "Modification of a read-only value attempted ..."

2003-09-23 Thread Robert van den Aker
I have the following template fragments: /etc/e-smith/templates/etc/atalk/papd.conf/00ReadPrintersConf { @printers = (); open (RD, ") { if (/^<(Default)?Printer ([\w\-]+)>/) { push (@printers, $2); } } close (RD); ""; } and /etc/e-smith/