"Fliptop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [reply cc'd to list]
>
> On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined:
>
> RR:What is the advantage of these changes?
> RR:When is Perl 6 due out?
> RR:Do those links you provided describe all the
"Fliptop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [reply cc'd to list]
>
> On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined:
>
> RR:What is the advantage of these changes?
> RR:When is Perl 6 due out?
> RR:Do those links you provided describe all the
"Fliptop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, 18 Dec 2002 at 13:49, kevin christopher opined:
>
> kc:Hope this doesn't further belabor the issue, but just to put my
> kc:two cents in, Perl syntactic rules for prefixing "$", "@", "%" are
> kc:
[reply cc'd to list]
On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined:
RR:What is the advantage of these changes?
RR:When is Perl 6 due out?
RR:Do those links you provided describe all the differences we will see in
RR:Perl 6?
i'm no authority on perl 6, so i can't answer any of your questi
On Wed, 18 Dec 2002 at 13:49, kevin christopher opined:
kc:Hope this doesn't further belabor the issue, but just to put my
kc:two cents in, Perl syntactic rules for prefixing "$", "@", "%" are
kc:very consistent, IMHO: You just need to keep in mind the types of
kc:the values/data types ultimate
gle element.
>
>To create an array slice with more elements, you'll need
something like
>@var[0 .. n]
>
>You need to always use $ for scalars and @ for arrays.
>
>
>Teddy,
>Teddy's Center: http://teddy.fcc.ro/
>Email: [EMAIL PROTECTED]
>
>- Original Messa
y Hash Element \$array{'10'} = $array{'10'}\n";
print "Hash Array Element \$hash[1] = $hash[1]\n";
Enjoy!
> -Original Message-
> From: Lance Murray [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 11:02 AM
> To: [EMAIL PROTECT
hree"
# You can't have another "key2" key,
# but the same -value- can be
# associated with multiple keys if
# desired.
-
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
-----Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROT
see the thing.
-Original Message-
From: "Lance Murray"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed Dec 18 09:02:04 PST 2002
Subject: Confusion on @array vs $array[] vs $array
>Hello:
>
>I have been fairly confused on the intermixing of array naming standa
In a message dated 12/18/2002 12:13:38 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
>
> Anyway, perhaps one of you syntactical thought police could give me some
> insights to the rational. I find it very confusing that the $ and @
> characters
> are supposed to be used interchangeably
need to always use $ for scalars and @ for arrays.
Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]
- Original Message -
From: "Lance Murray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 7:02 PM
Subject: Co
e the @/$
conventions make things *less* confusing, not more.
-
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
-Original Message-
From: Lance Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 11:02 AM
To: [EMAIL PROTECTED]
Subject: Confusion on @array vs $
Hello:
I have been fairly confused on the intermixing of array naming standards. If I
understand correctly, the @array syntaxt is used to refer to the whole array,
while $array[n] is refered to specific elements.
In my thinking, it would have been less confusing to use @array[n] to address
speci
13 matches
Mail list logo