RE: Apoc4: Parentheses

2002-01-20 Thread Sterin, Ilya
[EMAIL PROTECTED] writes: : QUOTE : Interestingly, this one tweak to the whitespace rule also means that we'll : be able to simplify the parentheses out of other similar built-in constructs: : : if $foo { ... } : elsif $bar { ... } : else { ... } : : while

RE: catching warnings

2002-01-08 Thread Sterin, Ilya
Or possibly a universal catch, with the $@.warning and $@.die or something, so that you can check it. Ilya -Original Message- From: David Whipp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 7:25 PM To: Perl6-Language (E-mail) Subject: catching warnings Perl6 is

RE: [patch] fixes so it builds with lcc

2002-01-06 Thread Sterin, Ilya
Once the patch is applied, I can test on my own win32 lcc. I don't have on on Linux, so I can't test at this time. Ilya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Josh Wilmes Sent: Sunday, January 06, 2002 9:35 AM To: [EMAIL PROTECTED]

RE: [patch] fixes so it builds with lcc [APPLIED]

2002-01-06 Thread Sterin, Ilya
Ok, trying to compile with lcc for wint32, I get... Determining if your C compiler is actually gcc (this could take a while): cpp: Can't open input file msvcrt.lib C compiler died! at Configure.pl line 748, STDIN line 9. Also, why is this line in Configure.pl (748) system($c{cc} $c{ccflags}

RE: [patch] fixes so it builds with lcc [APPLIED]

2002-01-06 Thread Sterin, Ilya
[mailto:[EMAIL PROTECTED]] Sent: Sunday, January 06, 2002 12:11 PM To: Sterin, Ilya; 'Josh Wilmes'; [EMAIL PROTECTED] Subject: RE: [patch] fixes so it builds with lcc [APPLIED] At 02:24 PM 1/6/2002 -0800, Sterin, Ilya wrote: Ok, trying to compile with lcc for wint32, I get

Failed tests (win32)

2002-01-04 Thread Sterin, Ilya
the pmc.t test 48 through 52 all fail. I've reported this two days ago as well, seems like it hasn't been fixed yet. nmake test also recompiles test_parrot.exe, so it's compiled once at nmake and again at nmake test. Ilya Sterin

Test failing (win32)

2002-01-02 Thread Sterin, Ilya
The array_test #44 within pmc.t is segfaulting. Ilya

Using stringified address

2002-01-01 Thread Sterin, Ilya
Not sure if this has already been discussed, but I though this would be a cool option, especially since I've ran into a few cases where this would have been very usefull. Using a scalar (string) with an address to another variable and be able to dereference it. This proves very usefull when

RE: Using stringified address

2002-01-01 Thread Sterin, Ilya
Ok, I understand that this hasn't been implemented due to the believe that it's a dangerous feature (Programming Perl). But would it be ok to enable/disable it with a specific pragma? Ilya -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01

RE: Using stringified address

2002-01-01 Thread Sterin, Ilya
of something I'm trying to accomplish:-) Ilya -Original Message- From: Simon Cozens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 8:18 AM To: Sterin, Ilya Cc: [EMAIL PROTECTED] Subject: Re: Using stringified address On Tue, Jan 01, 2002 at 04:00:22AM -0800, Sterin, Ilya

RE: Using stringified address

2002-01-01 Thread Sterin, Ilya
-Original Message- From: Simon Cozens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 8:54 AM To: Sterin, Ilya Cc: [EMAIL PROTECTED] Subject: Re: Using stringified address On Tue, Jan 01, 2002 at 11:38:16AM -0800, Sterin, Ilya wrote: Not sure, I'll have to take

RE: Using stringified address

2002-01-01 Thread Sterin, Ilya
-Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 9:59 AM To: Sterin, Ilya; [EMAIL PROTECTED] Subject: RE: Using stringified address At 11:09 AM 1/1/2002 -0800, Sterin, Ilya wrote: Ok, I understand that this hasn't been

RE: Color codes in tinderbox (All tests pass!!!)

2002-01-01 Thread Sterin, Ilya
Sterin, Ilya wrote: I haven't done any testing yet, though. It compiles here, too. But 'nmake test' runs as far as t/op/basic..ok t/op/bitwiseok t/op/debuginfo..ok t/op/hacks..ok t/op/integerok t/op/interp.ok t/op/macro..ok t/op

RE: Using stringified address

2002-01-01 Thread Sterin, Ilya
-Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 1:12 PM To: 'Dan Sugalski'; [EMAIL PROTECTED] Subject: RE: Using stringified address -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent

RE: Color codes in tinderbox (All tests pass!!!)

2002-01-01 Thread Sterin, Ilya
might be before going deeper. Ilya -Original Message- From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Re: Color codes in tinderbox (All tests pass!!!) Sterin, Ilya wrote: Mine pass fine... Current

RE: Color codes in tinderbox (All tests pass!!!)

2002-01-01 Thread Sterin, Ilya
, January 01, 2002 11:29 AM To: [EMAIL PROTECTED] Subject: Re: Color codes in tinderbox (All tests pass!!!) Sterin, Ilya wrote: I wonder if it matters what current perl version you are using? Also what VC++ and Service Pack are you using as well as your OS. MS Windows 2000 Profession, SP

io_os.c undeclared identifier

2002-01-01 Thread Sterin, Ilya
io_os.c(127) : error C2065: 'F_GETFL' : undeclared identifier With the latest CVS, after the ParrotIO patch. Ilya

RE: io.c problem and patch

2002-01-01 Thread Sterin, Ilya
Oooopss, sorry. Disregard this, since Melvin just submitted the actual correct version:-) Ilya -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 8:59 PM To: [EMAIL PROTECTED] Subject: io.c problem and patch Small patch to return

RE: ParrotIO : Please test this [PATCH] for breakage

2002-01-01 Thread Sterin, Ilya
-Original Message- From: Melvin Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 5:58 PM To: Jason Diamond; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: ParrotIO : Please test this [PATCH] for breakage At 03:33 PM 1/1/2002 -0800, Jason Diamond wrote:

RE: ParrotIO : Please test this [PATCH] for breakage

2002-01-01 Thread Sterin, Ilya
It compiled fine with #if 0, but now interp1.t hangs. Ilya P.S. I have to step away for a few, but I'll be back to test the rest in an hour or so. -Original Message- From: Melvin Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 6:46 PM To: Sterin, Ilya; 'Jason

RE: ParrotIO : Please test this [PATCH] for breakage

2002-01-01 Thread Sterin, Ilya
-Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 01, 2002 10:05 PM To: 'Melvin Smith'; 'Jason Diamond'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: ParrotIO : Please test this [PATCH] for breakage It compiled fine with #if 0

RE: Color codes in tinderbox

2001-12-31 Thread Sterin, Ilya
Just to let you know, the latest CVS compiled on Win32 VC++ 6.0 Enterprise SP 5. There are quite a few warning, though it's a big progress from yesterday's problems. I haven't done any testing yet, though. Ilya

RE: Color codes in tinderbox

2001-12-31 Thread Sterin, Ilya
]] Sent: Monday, December 31, 2001 4:59 PM To: [EMAIL PROTECTED] Subject: RE: Color codes in tinderbox On Mon, 31 Dec 2001, Sterin, Ilya wrote: Just to let you know, the latest CVS compiled on Win32 VC++ 6.0 Enterprise SP 5. There are quite a few warning, though it's a big

RE: Color codes in tinderbox

2001-12-31 Thread Sterin, Ilya
-Original Message- From: Bryan C. Warnock [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 7:10 PM To: Sterin, Ilya; 'Dan Sugalski'; [EMAIL PROTECTED] Subject: Re: Color codes in tinderbox On Monday 31 December 2001 11:58 pm, Sterin, Ilya wrote: Straight out

Win32 build problems

2001-12-30 Thread Sterin, Ilya
Trying to build 0.0.3. perl Configure.pl runs fine. nmake No warnings above. cl -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FC RYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -I./in clude -Fochartypes/usascii.obj -c

RE: Win32 build problems

2001-12-30 Thread Sterin, Ilya
Thanks, I'll try right now. -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 8:33 PM To: Sterin, Ilya; [EMAIL PROTECTED] Subject: Re: Win32 build problems At 11:27 PM 12/30/2001 -0800, Sterin, Ilya wrote: The package

RE: Win32 build problems

2001-12-30 Thread Sterin, Ilya
on CVS checkout? I used cvs -d :pserver:[EMAIL PROTECTED]:/cvs/public co parrot Would it make a difference if I loged in with my perl.org user/pass??? Ilya Sterin -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 8:33 PM To: Sterin, Ilya

RE: Win32 build problems

2001-12-30 Thread Sterin, Ilya
Ohhh, just though about it, the user/pass is not registered in the cvs server, and I don't need for now. Though the anonymous should of worked, right? Ilya -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 8:33 PM To: Sterin, Ilya

RE: Win32 build problems

2001-12-30 Thread Sterin, Ilya
..cvsignore file lists the vtable.h file??? Ilya -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 8:33 PM To: Sterin, Ilya; [EMAIL PROTECTED] Subject: Re: Win32 build problems At 11:27 PM 12/30/2001 -0800, Sterin, Ilya wrote

RE: Win32 build problems

2001-12-30 Thread Sterin, Ilya
Ok, sorry guys. I see now it's generated by vtable_h.pl, but am I supposed to run it or is Configure.pl supposed to do it, as I see it now nothing does this. Ilya -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 12:59 AM To: 'Dan

RE: (Disregard all previous) Win32 build problems

2001-12-30 Thread Sterin, Ilya
'0x2' Stop. Ilya Sterin -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 12:55 AM To: 'Dan Sugalski'; [EMAIL PROTECTED] Subject: RE: Win32 build problems Ohhh, just though about it, the user/pass is not registered in the cvs

RE: String/Number differentiation

2001-09-17 Thread Sterin, Ilya
:[EMAIL PROTECTED]] Sent: Monday, September 17, 2001 7:15 PM To: Dan Sugalski Cc: Sterin, Ilya; ''[EMAIL PROTECTED] ' ' Subject: Re: String/Number differentiation On Mon, Sep 17, 2001 at 07:09:56PM -0400, Dan Sugalski wrote: At 03:49 PM 9/17/2001 -0600, Sterin, Ilya wrote: I guess

RE: Links

2001-09-08 Thread Sterin, Ilya
-Original Message- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 08, 2001 8:11 AM To: [EMAIL PROTECTED] Subject: Links All I found with lycos... but no speed comparison only mumbo-jumbo : http://language.perl.com/versus/

RE: Links

2001-09-08 Thread Sterin, Ilya
Sorry, went a little of our the way. Will keep my mouth shut on those thing from now on:-) -Original Message- From: Dan Sugalski [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 08, 2001 2:19 PM To: [EMAIL PROTECTED] Subject: RE: Links At 02:24 PM 9/8/2001 -0400, Sterin

RE: An overview of the Parrot interpreter [speed]

2001-09-07 Thread Sterin, Ilya
Actually there were some tests done, can't recall where now, though by a trusted source. I will be digging it up in my email and emailing it to the list. There were a few languages tested including Perl, C, C++, Java (can't remember if Python was there). Perl came in in second place after C.

RE: LangSpec: Statements and Blocks [first,last]

2001-09-02 Thread Sterin, Ilya
-Original Message- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 02, 2001 1:47 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: LangSpec: Statements and Blocks [first,last] hi, As we read in Damian Conway- Perl6-notes, there will by a

RE: ! and !

2001-09-02 Thread Sterin, Ilya
-Original Message- From: Russ Allbery [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 02, 2001 8:42 AM To: [EMAIL PROTECTED] Subject: Re: ! and ! Bart Lateur [EMAIL PROTECTED] writes: Why is it = and not =? Because in English, it's less than or equal to not equal to or

RE: ! and !

2001-09-01 Thread Sterin, Ilya
Though it might prove convenient (just more syntax for more than one way to do it) it's equivalent to ! == = and ! == = , it might be too confusing, though I myself would think that since != and ne is implemented, ! and ! would definitely make common sense to implement as well. Ilya

RE: ! and !

2001-09-01 Thread Sterin, Ilya
-Original Message- From: Russ Allbery [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 01, 2001 4:03 PM To: [EMAIL PROTECTED] Subject: Re: ! and ! raptor [EMAIL PROTECTED] writes: I was looking at Interbase SELECT syntax and saw these two handy shortcuts :

RE: ! and !

2001-09-01 Thread Sterin, Ilya
-Original Message- From: Andrew Wilson [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 01, 2001 6:06 PM To: Russ Allbery Cc: [EMAIL PROTECTED] Subject: Re: ! and ! On Sat, Sep 01, 2001 at 02:40:40PM -0700, Russ Allbery wrote: How is ! different from =? It's just

RE: ! and !

2001-09-01 Thread Sterin, Ilya
-Original Message- From: Bryan C. Warnock [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 01, 2001 5:59 PM To: Russ Allbery; [EMAIL PROTECTED] Subject: Re: ! and ! On Saturday 01 September 2001 05:40 pm, Russ Allbery wrote: Sterin, Ilya [EMAIL PROTECTED] writes: From

RE: explicitly declare closures???

2001-08-22 Thread Sterin, Ilya
As was mentioned earlier, a closure can as well be a named sub, not necessarily an anonymous. Ilya -Original Message- From: Paul Johnson To: Dave Mitchell Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 08/21/2001 11:39 AM Subject: Re: explicitly declare closures??? On Tue, Aug 21, 2001

RE: HOw to Unsub

2001-08-21 Thread Sterin, Ilya
Usually the generic way is to send email to [EMAIL PROTECTED], so in your case try [EMAIL PROTECTED] Ilya -Original Message- From: Patel, Sharad To: Eric Roode; [EMAIL PROTECTED] Sent: 08/21/2001 7:22 AM Subject: HOw to Unsub HI Guys Sorry for this but I need to know how to

Circular references

2001-08-01 Thread Sterin, Ilya
I was just wondering if there will be any solution for the circular refernece memory leak (I guess you can call it a problem). Can't we keep information on the number of circular references in the SV structure and then decrement the references count by one + the circular reference count at the

RE: Circular references

2001-08-01 Thread Sterin, Ilya
, Ilya; '[EMAIL PROTECTED]' Sent: 08/01/2001 1:18 PM Subject: Re: Circular references At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote: I was just wondering if there will be any solution for the circular refernece memory leak (I guess you can call it a problem). Can't we keep information on the number

RE: Circular references

2001-08-01 Thread Sterin, Ilya
-Original Message- From: David L. Nicol To: Buddha Buck Cc: Sterin, Ilya; '[EMAIL PROTECTED]' Sent: 08/01/2001 1:12 PM Subject: Re: Circular references Buddha Buck wrote: At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote: Can't we keep information on the number of circular

RE: Circular references

2001-08-01 Thread Sterin, Ilya
Well guess not, since something like this... { my ($a, $b, $c); $a = \$b; $b = \$c; $c = \$a; } would definitelly be hard, resource consuming to implement a circular reference count. Ilya -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: if then else otherwise ...

2001-07-29 Thread Sterin, Ilya
in ?:: or any other condition checking block, 0 is true, everything else is false. I am yet to see why otherwise or any third condition is needed. If that's then we can have 4 conditions 1,0,-1,undef, and we can keep going. That is why there are conditions, if you want to check for -1 you must

RE: if then else otherwise ...

2001-07-28 Thread Sterin, Ilya
What's the point, you can accomplish the same with if/elsif/else. Maybe I'm not understanding this correctly, but if (cond) {} elsif (cond) {} else {} Ilya -Original Message- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 28, 2001 9:35 AM To: [EMAIL PROTECTED]

RE: if then else otherwise ...

2001-07-28 Thread Sterin, Ilya
-Original Message- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 28, 2001 12:32 PM To: Sterin, Ilya; [EMAIL PROTECTED] Subject: Re: if then else otherwise ... I've/m never used/ing elseif ( i hate it :) from the time I have to edit a perl script of other person

RE: aliasing a value [...]

2001-07-25 Thread Sterin, Ilya
\%foo = \%bar is fine with me, it's the is alias I was a little worried about. Ilya -Original Message- From: David L. Nicol To: Sterin, Ilya Cc: 'Davíð Helgason '; '[EMAIL PROTECTED] '; 'John Porter ' Sent: 07/24/2001 5:45 PM Subject: Re: aliasing a value [...] Sterin, Ilya wrote

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-25 Thread Sterin, Ilya
..., just by incrementing a counter, while comparing to the shortes array, but I'm wondering if a control variable would yield other benefits and if nothing else decrease the amount of written code. Ilya -Original Message- From: David L. Nicol To: Sterin, Ilya Cc: Perl 6 Language Sent: 07

RE: aliasing a value in a while each loop

2001-07-23 Thread Sterin, Ilya
alias(%foo, %bar) is better IMO since it conforms to other functions in perl. my %foo is alias = %bar; #seems a little out of scope of the language, unless more functionality is implemented in that way. Ilya -Original Message- From: Davíð Helgason To: [EMAIL PROTECTED]; John Porter

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-21 Thread Sterin, Ilya
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 5:50 AM To: Sterin, Ilya; 'raptor '; Perl 6 Language Subject: RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya [EMAIL PROTECTED] wrote: Just one question, how

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread Sterin, Ilya
-Original Message- From: Jeremy Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 8:40 PM To: Sterin, Ilya; 'raptor '; [EMAIL PROTECTED] Subject: Re: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya [EMAIL PROTECTED] wrote: Hmmm. Didn't think about

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread Sterin, Ilya
No, I don't think you are understanding it correctly. It's not about looping sequentially, but rather simultaneouly, for comparison purposes. @foo = (1,2,3); @bar = (1,2,3); for my ($foo, $bar) (@foo, @bar) #As the index for @foo increases, so #does @bar

RE: aliasing a value in a while each loop

2001-07-20 Thread Sterin, Ilya
at 11:17:13AM -0600, Sterin, Ilya wrote: But this will be flattened, so I would think for my($key, $val)(%my_hash) { ... } Would be a great convenience. $key and $val being aliased accordingly. I'm sorry, but I fail to see how this is a big improvement over the current version

RE: aliasing - was:[nice2haveit]

2001-07-19 Thread Sterin, Ilya
Agree. I think that with() should only be used with object references only, and $_ should be set accordingly. Ilya -Original Message- From: John Porter To: [EMAIL PROTECTED] Sent: 07/19/2001 1:01 PM Subject: Re: aliasing - was:[nice2haveit] Sterin, Ilya wrote: But I thought

RE: what's with 'with'? (was: [aliasing - was:[nice2haveit]])

2001-07-19 Thread Sterin, Ilya
Why would you want it to print Monkey Hero, I would expect $_ to be localized, rather than global, which could prove more convenient. Ilya -Original Message- From: Stuart Rocks To: [EMAIL PROTECTED] Sent: 07/19/2001 1:13 PM Subject: Re: what's with 'with'? (was: [aliasing -

RE: what's with 'with'? (was: [aliasing - was:[nice2haveit]])

2001-07-19 Thread Sterin, Ilya
:) Ilya -Original Message- From: 'John Porter ' To: [EMAIL PROTECTED] Sent: 07/19/2001 1:46 PM Subject: Re: what's with 'with'? (was: [aliasing - was:[nice2haveit]]) Sterin, Ilya wrote: Well then maybe $_ can be a reference to a multidimensional array or hash, and temp vars can be access

RE: aliasing - was:[nice2haveit]

2001-07-19 Thread Sterin, Ilya
But I thought this was related to more than just with(), so if we have foreach (1..10) { print; ### But if you are trying to use it in a string print This is number $_ of 10\n; ### Would now have to be printed as print This is number ; print; print of 10\n; ### Which is three extra

RE: what's with 'with'? (was: [aliasing - was:[nice2haveit]])

2001-07-19 Thread Sterin, Ilya
Well if you look at the proposed... $_ = monkey ; $foo = coward; with ($foo){ print; print $_; } Would print coward monkey, which will give you unexpected results if you are used to having the same output for both, coward coward. But I guess the above would not replace $_ which

RE: what's with 'with'? (was: [aliasing - was:[nice2haveit]])

2001-07-19 Thread Sterin, Ilya
I question this too, since as you mentioned with, in my experience works nicely to reference and object like with(object) { .foo(); .bar(); } Ilya -Original Message- From: Mark Koopman To: [EMAIL PROTECTED] Sent: 07/19/2001 12:42 PM Subject: Re: what's with 'with'? (was: [aliasing

RE: aliasing - was:[nice2haveit]

2001-07-19 Thread Sterin, Ilya
Stuart Rocks wrote: CWith would also make the [variable, alias, whatever] default, but not replace the $_: $_ = monkey ; $foo = coward; with ($foo){ print; print $_; } would output monkey coward. okay, coward is default but $_ has not been replaced, so would not the

RE: what's with 'with'? (was: [aliasing - was:[nice2haveit]])

2001-07-19 Thread Sterin, Ilya
Well then maybe $_ can be a reference to a multidimensional array or hash, and temp vars can be access like this. for ( @foo, @bar ) { print $_-[0] : $_-[1]\n; } As for hashes it might hold the key, also in an multidimensional array. Ilya -Original Message- From: John Porter To:

RE: Curious: - vs .

2001-04-26 Thread Sterin, Ilya
$foo = [$one, $two, $three]; # creates an anonymous list. $foo = [$object method(foo, bar)]; This would interpret as $foo[0] == $object, etc... Ilya -Original Message- From: Buddha Buck [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 11:20 PM To: Piers Cawley Cc: Bart