Hi all,
I am newbee to Perl. Could anybody please give me head start
with Perl programming? I am interested in playing with some CGI stuff
and want to sese the Perl's data manipulation power.
Thanks all. I appreciate any help.
Yuga.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Yuga Chodagam wrote:
> Hi all,
> I am newbee to Perl. Could anybody please give me head start
> with Perl programming? I am interested in playing with some CGI stuff
> and want to sese the Perl's data manipulation power.
>
>
> Thanks all. I appreciate any help.
>
> Yuga.
>
Though he
Thanks all for quick replies. I will go for them.
Yuga.
On 6/3/05, Yuga Chodagam <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am newbee to Perl. Could anybody please give me head start
> with Perl programming? I am interested in playing with some CGI stuff
> and want to sese the Perl's data
Hello,
ran into a strange problem when doing a sort. we have a file like this:
0::Accounts;Local Language
1::Anatomy;Local Language
2::Arabic;Local Language
..
26::German;Local Language
27::Government&politics;Local Language
.
3::Architecture;Local Language
4:
Look at using lc (lower case). It can make your sort case-insensitive.
On Jun 3, 2005, at 7:17 PM, Mike Blezien wrote:
Hello,
ran into a strange problem when doing a sort. we have a file like this:
0::Accounts;Local Language
1::Anatomy;Local Language
2::Arabic;Local Language
How that apply to our code:
foreach $key (sort { $lang->{$a}->[0] cmp $lang->{$b}->[0] } keys(%{$lang}))
>> {
>> # do stuff here
>> }
Sean Davis wrote:
Look at using lc (lower case). It can make your sort case-insensitive.
On Jun 3, 2005, at 7:17 PM, Mike Blezien wrote:
Hello,
I am attempting to write an interface to a SQL database where the user
will be able to scan in serial numbers and such and the database will
keep track of it. Unfortunately, the bar code scanners that will be
used always add {W at the beginning of what they scan, and a newline at
the end. I h
Untested:
foreach $key (sort { lc($lang->{$a}->[0]) cmp lc($lang->{$b}->[0]) }
keys(%{$lang}))
Sean
- Original Message -
From: "Mike Blezien" <[EMAIL PROTECTED]>
To: "Sean Davis" <[EMAIL PROTECTED]>
Cc: "Perl List"
Sent: Friday, June 03, 2005 7:36 PM
Subject: Re: hash array sorting
Thanks,
after looking at my code again, I realized what you where referring to and it
works fine now, just like you have it below... just had stop and look at it
again. :)
Mike
Sean Davis wrote:
Untested:
foreach $key (sort { lc($lang->{$a}->[0]) cmp lc($lang->{$b}->[0]) }
keys(%{$lang}))
Hello,
got another hair puller here. we have script setup to process small messages
posted, less the 250 words, and it goes through the message content and runs
each "word" and checks for various unwanted words. It also is setup to check for
possible numerical values, like a phone number or a
10 matches
Mail list logo