%hash = map { $_ => 1 } @pclist; is correct
Krishnakumar K.P
Sr.Software Engineer
Cybage Software Pvt. Ltd (An SEI-CMMI Level 5 Company)
West Avenue, Kalyani Nagar
Pune - 411 006
Tel: 020- 66041700/ 66044700 extn: 3178
Email: [EMAIL PROTECTED]
Website: www.cybage.com
-Original Message--
open(FILE, $filename);
@array = ;
close(FILE);
-Original Message-
From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 11:54 AM
To: Perl Beginners
Subject: Putting file content into an array
Hi,
I need to read a specific file and put the each line of tha
Perl maintains environment variables in a special hash named %ENV
Krishnakumar K.P
Sr.Software Engineer
Cybage Software Pvt. Ltd (An SEI-CMMI Level 5 Company)
West Avenue, Kalyani Nagar
Pune - 411 006
Tel: 020- 66041700/ 66044700 extn: 3178
Email: [EMAIL PROTECTED]
Website: www.cybage.com
---
Hi,
There is a problem in coding perl in windows and using it in linux.
When you code in windows the file will contain dos/windows new line pairs
instead of the Linux/UNIX single New Line character which may cause error in
linux server.
to fix this you should open the file in vi and type the follo
-Original Message-
From: Luba Pardo [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 6:27 PM
To: beginners@perl.org
Subject: consecutive lines in a file
Dear sir/madam:
I am trying to write a script to process to consecutive lines at a time and
compare elements of between two c
-Original Message-
From: Chris Share [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 3:24 PM
To: beginners@perl.org
Subject: Where are These Carriage Returns Coming From?
Hi,
In the output of the following code there's a carriage return between
the $name variable and the "!
storing of an object for later use is called serialization.
-Original Message-
From: Practical Perl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 3:29 PM
To: beginners perl
Subject: about serialization
I saw a paper about DB_File,
Three serialization wrappers are
http://www.textpad.com/ is also very good.
-Original Message-
From: Todd W [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 1:40 AM
To: beginners@perl.org
Subject: Re: Hello to Perl World
"Tom Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If you
Try Perl2Exe http://www.indigostar.com/.
the only drawback i found is that the size of exe is huge.
Krishnakumar K.P
-Original Message-
From: kilaru rajeev [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 11:08 AM
To: Dharshana Eswaran
Cc: beginners@perl.org
Subject: R