Re: Question: Interpolation in Strings

2002-02-03 Thread Jenda Krynicky
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")---

Re: Question: Interpolation in Strings

2002-02-02 Thread Jeff 'japhy' Pinyan
On Feb 2, G. E. said: >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")---!"; You have quotes inside of

Re: Question: Interpolation in Strings

2002-02-02 Thread John W. Krahn
"G. E." wrote: > > 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_heade

Question: Interpolation in Strings

2002-02-02 Thread G. E.
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-