Re: RFC 105 (v1) Downgrade or remove In string @ must be \@error

2000-08-17 Thread David L. Nicol
Glenn Linderman wrote: Peter Scott wrote: I have often wished that digraphs were not bundled with variables in this respect, i.e., I wanted to put a string containing \n inside single quotes just 'cuz it didn't contain variables to be interpolated. Whether there's a way of improving

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-16 Thread Nathan Wiger
"Randal L. Schwartz" wrote: What would be NICE is to treat @stonehenge here as *always* a variable So, I'd support a modification to the RFC that does what Larry intended here: array interpolation should work exactly like scalar interpolation That was actually the intent of the

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-16 Thread Mark-Jason Dominus
This has already been done for Perl 5.6.1. Here is what perldelta.pod has to say. =head2 Arrays now Always Interpolate Into Double-Quoted Strings In double-quoted strings, arrays now interpolate, no matter what. The behavior in perl 5 was that arrays would interpolate into strings if the

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Jonathan Scott Duff
On Tue, Aug 15, 2000 at 04:09:51PM -0400, Ted Ashton wrote: Better yet, DWIM. If I write print "[EMAIL PROTECTED]"; and no array @southern exists, I probably mean I want it to print [EMAIL PROTECTED] I'd say, if the variable exists, interpolate it. If not, print it as it

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread John Porter
Ted Ashton wrote: Better yet, DWIM. If I write print "[EMAIL PROTECTED]"; and no array @southern exists, I probably mean I want it to print [EMAIL PROTECTED] I'd say, if the variable exists, interpolate it. If not, print it as it stands. Um, no. Something about the relaxation of

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Nathan Wiger
Better yet, DWIM. If I write print "[EMAIL PROTECTED]"; and no array @southern exists, I probably mean I want it to print [EMAIL PROTECTED] I'd say, if the variable exists, interpolate it. If not, print it as it stands. I initially was thinking this too, but there's a major

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Randal L. Schwartz
"Jonathan" == Jonathan Scott Duff [EMAIL PROTECTED] writes: Jonathan Isn't that the way perl4 did it? I don't know what agony lwall and Jonathan friends went through that made them change this behaviour though. It Jonathan would be good for someone who does to speak up about it. It permits

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Michael Fowler
On Tue, Aug 15, 2000 at 04:09:51PM -0400, Ted Ashton wrote: Better yet, DWIM. If I write print "[EMAIL PROTECTED]"; and no array @southern exists, I probably mean I want it to print [EMAIL PROTECTED] I'd say, if the variable exists, interpolate it. If not, print it as it

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Peter Scott
At 02:44 PM 8/15/00 -0700, Nathan Wiger wrote: Better yet, DWIM. If I write print "[EMAIL PROTECTED]"; and no array @southern exists, I probably mean I want it to print [EMAIL PROTECTED] I'd say, if the variable exists, interpolate it. If not, print it as it stands.

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@error

2000-08-15 Thread Glenn Linderman
Peter Scott wrote: I have often wished that digraphs were not bundled with variables in this respect, i.e., I wanted to put a string containing \n inside single quotes just 'cuz it didn't contain variables to be interpolated. Whether there's a way of improving this behavior or not I don't

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@ error

2000-08-15 Thread Chaim Frenkel
"PS" == Peter Scott [EMAIL PROTECTED] writes: I want this to *always* print out the _value_ of @stuff, even if it's unititalized. PS Arrays aren't uninitialized. They contain zero or more scalars, some of PS which may be uninitialized. I don't know if it is still true. But at one point in

Re: RFC 105 (v1) Downgrade or remove In string @ must be \@error

2000-08-15 Thread Nathan Torkington
Peter Scott wrote: I have often wished that digraphs were not bundled with variables in this respect, i.e., I wanted to put a string containing \n inside single quotes just 'cuz it didn't contain variables to be interpolated. Whether there's a way of improving this behavior or not I don't