(figuratively) kicked myself.
Thanks
Soham
From: Philip Potter
To: Soham Das
Cc: beginners@perl.org
Sent: Fri, 9 October, 2009 2:22:49 PM
Subject: Re: Building a record on the fly via hash of hashes
2009/10/9 Soham Das :
> When I compile this, it gives me an er
Is this code better?
I noticed, you missed some inverted commas,
So, at the risk of being pedantic, I am appending the code:
#!/usr/bin/perl
use strict;
use warnings;
use Tie::Handle::CSV;
my $qbook = Tie::Handle::CSV->new('C:\Documents and Settings\Soham
Das\Desktop\Quotes.csv',h
ubject: Re: Building a record on the fly via hash of hashes
Soham Das wrote:
> The Code:
>
> use strict;
> use warnings;
> use Tie::Handle::CSV;
>
> my $qbook = Tie::Handle::CSV->new('C:\Documents and Settings\Soham
> Das\Desktop\Quotes.csv',header=>1);
> my
The Code:
use strict;
use warnings;
use Tie::Handle::CSV;
my $qbook = Tie::Handle::CSV->new('C:\Documents and Settings\Soham
Das\Desktop\Quotes.csv',header=>1);
my $tradebook = Tie::Handle::CSV->new('C:\Documents and Settings\Soham
Das\Desktop\Transactions.csv'
The code:
From: Jim Gibson
To: beginners@perl.org
Sent: Fri, 9 October, 2009 11:00:55 AM
Subject: Re: Building a record on the fly via hash of hashes
At 10:14 PM -0700 10/8/09, Soham Das wrote:
> Hello All, I am doing some file reading operation, and pars
Hello All,
I am doing some file reading operation, and parsing the data(its a CSV file)
with a hash reference and then intend to store it in a record.
something like:
loop: until file ends;
$hashref->{'A'}=$filehandle->{'Action'};
$hashref->{'B'}= $filehandle->
- Forwarded Message
From: Soham Das
To: Uri Guttman
Sent: Wednesday, 30 September, 2009 10:29:12 AM
Subject: Re: AW: Hash of Hashes
From: Uri Guttman
To: Soham Das
Cc: Thomas Bätzler ; beginners@perl.org
Sent: Tuesday, 29 September, 2009 9
made a lot of such mistakes apparent in the previous two
three mails.
Soham
From: Thomas Bätzler
To: beginners@perl.org
Cc: Soham Das
Sent: Tuesday, 29 September, 2009 3:46:28 PM
Subject: AW: Hash of Hashes
Soham Das asked:
> How can I create a Hash o
How can I create a Hash of Hashes from two lists. Is it possible?
I want the effective functionality to be served like this
$ChildHash["Joe"]["21A"]="Sally"
i.e Joe at 21A has a child called Sally. List1 here will be the name of
Parents, List2 here will contain the house number.
Soham
Shit!!
Thanks,
How asinine of me.
From: Алексеев Александр
To: Soham Das
Cc: beginners@perl.org
Sent: Tuesday, 29 September, 2009 2:52:26 PM
Subject: Re: Use Strict, Perl 5.10 and Global Symbol requires explicit package
name
@dates and %dates are two
Take a look at the following snippet of code:
#!/usr/bin/perl
use warnings;
use strict;
use Tie::Handle::CSV;
#Read Market Data
my $file1= shift @ARGV;
my $file2= shift @ARGV;
my $master_fh=Tie::Handle::CSV->new($file1,header=>1);
my $transact_fh=Tie::Handle::CSV->new($file2,header=>1);
#Date Extr
From: Sisyphus
To: Soham Das ; beginners@perl.org
Sent: Tuesday, 29 September, 2009 3:45:41 AM
Subject: Re: Installing Tie::CSV_File in PPM
- Original Message - From: "Soham Das"
To:
Sent: Tuesday, September 29, 2009 4:51 AM
Subject:
Soham
- Original Message
From: Shawn H Corey
To: Uri Guttman
Cc: Soham Das ; beginners@perl.org
Sent: Monday, 28 September, 2009 10:45:33 PM
Subject: Re: Arrays, Dates, Indexing and Initialisation
Uri Guttman wrote:
> only for ++/-- and +=/-= will that work with no warnings. if he uses an
> un
I am trying to install Tie::CSV_File through the ActivePerl PPM. But try as I
might, I am not able to spot it. It also happens that CPAN repository is not
supported.
Any ideas on how to install it will be great.
I tried downloading it and running Makefile.pl but it got stuck when I executed
t
Thanks Shawn, yes hashes I guess will be the way to go forward.
Soham
- Original Message
From: Shawn H Corey
To: Soham Das
Cc: beginners@perl.org
Sent: Monday, 28 September, 2009 9:50:18 PM
Subject: Re: Arrays, Dates, Indexing and Initialisation
Soham Das wrote:
> a.. How d
sent: Mon, 28 Sep 2009 09:11:02 -0700
Subject:Re: Arrays, Dates, Indexing and Initialisation
From: r...@i.frys.com
To: "Soham Das"
Copies to: beginners@perl.org
> Soham Das wrote:
> > Hello All,
> >
> > I
Hello All,
I wanted some guidance with these questions of mine:
a.. How do I initialise an array of a definite size with zero. Say the C
equivalent of such a statement will be:
int a[125];
for(i=0;i<125;i++)
a[i]=0;
b. Is it possi
.
Thanks
Soham
- Original Message
From: Uri Guttman
To: Soham Das
Cc: beginners@perl.org
Sent: Thursday, 16 July, 2009 11:30:31 AM
Subject: Re: Fw: Modifiers on the right side of the statement
>>>>> "SD" == Soham Das writes:
SD> - Forwarded Messag
- Forwarded Message
From: Soham Das
To: Uri Guttman
Sent: Thursday, 16 July, 2009 11:23:29 AM
Subject: Re: Modifiers on the right side of the statement
I believe its because =~ has the highest priorty...
- Original Message
From: Uri Guttman
To: John W. Krahn
Cc
Original Message
From: David Christensen
To: beginners@perl.org
Cc: Soham Das
Sent: Sunday, 12 July, 2009 10:39:08 AM
Subject: RE: Perl for HDL Verification
Soham Das wrote:
> Can anyone who has worked in Hardware Designing domain, particularly
> HDL and RTL design, tell
Hi All,
For the disclaimers: I am new to Perl[as I was some 7 months back :) ] and to
get things rolling, I know just a bit of it. Hence the question, might appear a
bit, unpolished.
Can anyone who has worked in Hardware Designing domain, particularly HDL and
RTL design, tell me how exactly i
Hi All,
I am a noob in Perl and hence would like some help to what I am sure is a very
easy problem.
I have got a text file in csv format
The format is:
,,,
Now my objective is to change the format of the date, and rename the whole file
as a .csv
So, my strategy is:
I want to read the co
22 matches
Mail list logo