Output ordering for hash

2005-01-13 Thread Rohit RS
After parsing an XMl file i get the Data:Dumper output as $VAR1 = { 'xmlns:xsi' => http://www.w3.org/2001/XMLSchema-instance', 'EmployeeTemplate' => { 'Details' => { 'Age' => [ ' 26', ' 28'

what is something like this - $seen{$1}

2004-10-26 Thread rs
Hi, Here's a snippet of some code from the cookbook. I am trying to understand what $seen{$1} is. ie where did $1 come from, and what is in $seen{$1}, and how is the hash populated? thanks. Radhika #!/usr/bin/perl #use strict; #use diagnostics; my %seen = (); my $string =

Re: Generate a perl list file

2004-10-25 Thread rs
> > Dear all. > > I have a tab delimited file as follow: > > V namep > 1.0 AAA 0.001 > 0.9 BBB 0.003 > 0.8 CCC 0.004 > . > > I need to convert the file into following format: > { labels = > ( > {v="1.0"; name = "AAA"; p = "0.001"; }, >

Help needed: urgent

2004-09-30 Thread Rohit RS
== Using DBI Perl Programming I get a database o/p as below Student SubjectCodeMarks A 190 A 2

Re: Perl version on Solaris

2003-12-07 Thread rs
On solaris if you do perl -v, you should see perl 5.005 That is what ships from Solaris. The path is /usr/bin It is reccommended that you do not overwrite the perl that comes with solaris as it is used by solaris for scripts etc. If you install a later perl, make the path /usr/local/bin or somethi

Re: Location.

2001-05-17 Thread RS
Francis, how new are you to Perl. Im extremely new! --- Francis Henry <[EMAIL PROTECTED]> wrote: > me! > > RS wrote: > > > Kind of off topic but, is anyone in this list > located > > in NYC? > > > > = > > **R.S.** (pronounce

Location.

2001-05-17 Thread RS
Kind of off topic but, is anyone in this list located in NYC? = **R.S.** (pronounced R-dot S-dot) "Look at all the pretty C shells" __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

New to Perl

2001-05-15 Thread RS
Im new to Perl/programming. I know HTML pretty well but would like to get into Perl. What is the best book I can get for a beginner? = **R.S.** (pronounced R-dot S-dot) "Look at all the pretty C shells" __ Do You Yahoo!? Yahoo! Auctions - buy