@a= qw (68 3 5 67 54 23 69 );
@b = sort {-1} @a; ### what happens here !
results = 5,3,68,67,69,23,54
@c = sort {$a=$b} @a; ### what happens here !
results = 3,5,23,54,67,68,69
I know that sort by default sort in ascii order, I wanted to know what
exactly happens to the spaceship operator.
@a= qw (68 3 5 67 54 23 69 );
@b = sort {-1} @a; ### what happens here !
results = 5,3,68,67,69,23,54
Hey look, its reversed the order of the numbers either side
of the number 67! Extremely useful :P You shouldn't use
this sort, since it breaks for other quantities of numbers.
@c =
jcowan == jcowan [EMAIL PROTECTED] writes:
jcowan **
jcowan This email and any files transmitted with it are confidential and
jcowan intended solely for the use of the individual or entity to whom they
jcowan are addressed. If
Actually, I'd guess that this Lister is from someplace about 3,000,000
light years from Earth.
At 06:42 PM 11/11/2001, you wrote:
Going by his language it seems that this lister is from the third moon of
Jupiter.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Yes, my question was about how to install my OWN
modules and ur explanation worked very well...
one more Question :
U said,If I created a directory in /usr/local/lib/perl5/site_perl named
'Foo/' and in that directory I put a file named 'Bar.pm', then I could use
that module by doing:
use
Good morning from Pretoria,in Sunny South Africa.
-Original Message-
From: Etienne Marcotte [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2001 17:08
To: [EMAIL PROTECTED]
Subject: Off-Topic (200%) - Where are you from?
By reading the messages everyday I can guess most of us are from
Stockholm, Sweden
No!, not Switzerland...
/Håkan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]