throop has asked for the wisdom of the Perl Monks concerning the following question:
Trying to look online for exactly how while binds $_. Oddly enough, searching at perl.org in index-functions does not turn up documentation for while, nor for foreach. The other Perl iterative constructs, grep and map are there, though.
I realize that grep and map return values, where while and foreach don't. Still, seems like they should be documented in the same place. Or am I thinking about it wrong?
throop
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'while', 'foreach' not in perlfunc
by pc88mxer (Vicar) on Jun 13, 2008 at 20:57 UTC | |
|
Re: 'while', 'foreach' not in perlfunc
by dragonchild (Archbishop) on Jun 13, 2008 at 20:36 UTC | |
by duelafn (Parson) on Jun 13, 2008 at 20:50 UTC | |
by dragonchild (Archbishop) on Jun 14, 2008 at 00:54 UTC | |
|
Re: 'while', 'foreach' not in perlfunc
by psini (Deacon) on Jun 13, 2008 at 20:41 UTC | |
|
Re: 'while', 'foreach' not in perlfunc
by Anonymous Monk on Jun 14, 2008 at 08:51 UTC | |
|
Re: 'while', 'foreach' not in perlfunc
by blazar (Canon) on Jun 14, 2008 at 14:11 UTC | |
by moritz (Cardinal) on Jun 14, 2008 at 14:20 UTC |