Parsing and HTML file and then creating MS-Excel out of it.

2005-08-15 Thread Nath, Alok (STSD)
Hi all, Can anybody send me some pointers for reading an HTML file and then creating an excel file ? Basically what I want to do is read the data in the HTML file and then create and MS-Excel out of it. Thanx, Alok. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: better option then getops ??

2005-08-15 Thread John W. Krahn
Wiggins d'Anconia wrote: > John W. Krahn wrote: >> >>You were probably looking at Getopts::Std but there is also >>Getopts::Long and a few others on CPAN. >> >>perldoc Getopts::Long > > And I think John probably means Getopt::Long (no 's'), and it is a > standard module in newer Perl versions. Oo

Re: I finally did it- Packages

2005-08-15 Thread Manav Mathur
> I have just successfully figured out how to get the "return" from a > "package" > in the main program.. > > @Data = ReadFile::ReadFile("TownCrier.db"); > > Wha Hoo > > ANYONE having more informtion on making and using packages, please let me > know. > My 6 book library barely mentions it

Re: Perl Net::RawIP not allowing broadcast ?

2005-08-15 Thread Michael Gale
Hello, I have also tried sending out a packet addressed to 192.168.0.255 but I receive the same error: sendto() at /usr/lib/perl5/site_perl/5.8.6/i486-linux/Net/RawIP.pm line 550 Any help would be appreciated. Michael Michael Gale wrote: Hello, I have created the following piece of code

I finally did it- Packages

2005-08-15 Thread Luinrandir
I have just successfully figured out how to get the "return" from a "package" in the main program.. @Data = ReadFile::ReadFile("TownCrier.db"); Wha Hoo ANYONE having more informtion on making and using packages, please let me know. My 6 book library barely mentions it! my programming just g

Re: array of hashes of arrays...

2005-08-15 Thread Philip M. Gollucci
The Ghost wrote: How can I do this correctly? foreach my $col (@columns) { my %{$col} = ( # <-- I have a problem here, I want the hash to be named whatever "$col" is string => "$col", number => [EMAIL PROTECTED]

Re: array of hashes of arrays...

2005-08-15 Thread Peter Rabbitson
On Mon, Aug 15, 2005 at 04:08:22PM -0500, The Ghost wrote: > How can I do this correctly? > > > foreach my $col (@columns) { > my %{$col} = ( # <-- I have a problem here, I want > the hash to be named whatever "$col" is > string => "$col", >

array of hashes of arrays...

2005-08-15 Thread The Ghost
How can I do this correctly? foreach my $col (@columns) { my %{$col} = ( # <-- I have a problem here, I want the hash to be named whatever "$col" is string => "$col", number => [EMAIL PROTECTED] );

Re: quantity discount calculation lookup tables

2005-08-15 Thread Jeff 'japhy' Pinyan
On Aug 15, Scott R. Godin said: Jeff 'japhy' Pinyan wrote: Oh, Jolly Good! though I'm somewhat concerned with how much memory that would take up. Ultimately this would be running as a cgi processing a web-form submission. Unless you're dealing with thousands of elements in your array, I wou

Re: quantity discount calculation lookup tables

2005-08-15 Thread Scott R. Godin
Jeff 'japhy' Pinyan wrote: On Aug 15, Scott R. Godin said: quantity1 - 90% quantity10 - 1925% quantity20 - 19940% quantity200 - 49950% quantity500+55% I'd like to read it in via a __DATA__ handle, and perform the discount calculation based on

Re: better option then getops ??

2005-08-15 Thread Wiggins d'Anconia
John W. Krahn wrote: > Michael Gale wrote: > >>Hello, > > > Hello, > > >> I was reading online about getops and it seems that with getops the >>command line arguments have to be in the form: >> >>-character option >> >>What happens if you want your switchs to be characters like: >> >>--src_ip

Re: quantity discount calculation lookup tables

2005-08-15 Thread Wiggins d'Anconia
Scott R. Godin wrote: > I'd like to create a quantity discount table based on the following > criterion > > quantity1 - 90% > quantity10 - 1925% > quantity20 - 19940% > quantity200 - 49950% > quantity500+55% > > > I'd like to read it in via a _

Re: quantity discount calculation lookup tables

2005-08-15 Thread Jeff 'japhy' Pinyan
On Aug 15, Scott R. Godin said: quantity1 - 9 0% quantity10 - 19 25% quantity20 - 19940% quantity200 - 499 50% quantity500+55% I'd like to read it in via a __DATA__ handle, and perform the discount calculation b

quantity discount calculation lookup tables

2005-08-15 Thread Scott R. Godin
I'd like to create a quantity discount table based on the following criterion quantity1 - 9 0% quantity10 - 19 25% quantity20 - 19940% quantity200 - 499 50% quantity500+55% I'd like to read it in via a __DATA__