From: "G. E." <[EMAIL PROTECTED]> > As I' ve read in "Programming Perl", double-quoted strings are subject > to variable interpolation of scalars and list values. Nothing else > interpolates. So the following perl code won't compile: > > $st = "!--- &get_header("Users")---!"; > > sub get_header{ > $hnd->fixHead(@_); > }
use Interpolation get_header => sub { $hnd->fixHead(@_) }; $st = "!--- $get_header{'Users'}---!"; http://Jenda.Krynicky.cz/#Interpolation Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]