Re: foreach statement's parentheses
- From: "it_says_BALLS_on_your_forehead" <simon.chao@xxxxxxxxx>
- Date: 5 Dec 2005 03:41:04 -0800
Tim Hammerquist wrote:
> >
> > "A list value may also be subscripted like a normal array. You must put
> > the list in parentheses (real ones) to avoid amibiguity. Though it's
> > often used to fetch a single value out of a list, it's really a slice
> > of the list, so the syntax is:"
> >
> > (LIST)[LIST]
>
> Thanks. I knew it was good perl. I'm just looking for a term
> to describe what the parens do in that instance.
>
> Thanks again,
> Tim Hammerquist
no prob. i guess the term would be 'disambiguate'.
.
- Follow-Ups:
- Re: foreach statement's parentheses
- From: xyoavx
- Re: foreach statement's parentheses
- References:
- foreach statement's parentheses
- From: xyoavx
- Re: foreach statement's parentheses
- From: Eric Bohlman
- Re: foreach statement's parentheses
- From: Tim Hammerquist
- Re: foreach statement's parentheses
- From: it_says_BALLS_on_your forehead
- Re: foreach statement's parentheses
- From: Tim Hammerquist
- foreach statement's parentheses
- Prev by Date: FAQ 5.37 How do I select a random line from a file?
- Next by Date: Howto get return code from a extern program?
- Previous by thread: Re: foreach statement's parentheses
- Next by thread: Re: foreach statement's parentheses
- Index(es):
Relevant Pages
|
Loading