From nick at cleaton.net Wed Jul 2 05:57:05 2003
From: nick at cleaton.net (Nick Cleaton)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] FYI: IP to Integer and back
In-Reply-To: <200306301932.56021.nico@itfirms.co.za>
References: <200306301932.56021.nico@itfirms.co.za>
Message-ID: <20030702105705.GP310@lt1.cleaton.net>
On Mon, Jun 30, 2003 at 07:32:56PM +0200, Nico Coetzee wrote:
>
> I don't know if some of you work a lot with IP addresses, but it's easier to
> manipulate large amounts of addresses if you work with the Integer value of
> an IP. Here is a short script to illustrate the use:
>
>
> #!/usr/bin/perl
>
> $ipnumber = ip2ipn( "192.168.0.1" );
> if ( $ipnumber ) {
> print "IPN : $ipnumber\n";
> $ip = ipn2ip( $ipnumber );
> if ( $ip ) {
> print "IP : $ip\n";
> }
> }
>
> sub ip2ipn {
> # this sub will change an IP to the Integer value
> if ( $_[0] =~ /^\d+\.\d+\.\d+\.\d+/ ) {
> $_[0] =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/;
> my $num = (16777216*$1)+(65536*$2)+(256*$3)+$4;
> return $num;
> } else {
> return 0;
> }
> }
>
> sub ipn2ip {
> # this sub returns the IP address from an Integer
> # logical range is from 0.0.0.1 to 255.255.255.255
> if ( ( $_[0] > 0 ) && ( $_[0] < 4294967295 ) ) {
> my $ipn = $_[0];
> my $w=($ipn/16777216)%256;
> my $x=($ipn/65536)%256;
> my $y=($ipn/256)%256;
> my $z=$ipn%256;
> my $ipn = $w . "." . $x . "." . $y . "." . $z;
> return $ipn;
> } else {
> return 0;
> }
> }
>
>
> I assume there are other modules to handle this - but then, this is a learning
> experience :) BTW - let's see how we can improve this - making the subs less
> lines etc.
If I'm allowed to use Socket.pm then I can make the subs much shorter:
#!/usr/bin/perl
use Socket;
$ipnumber = ip2ipn( "192.168.0.1" );
if ( $ipnumber ) {
print "IPN : $ipnumber\n";
$ip = ipn2ip( $ipnumber );
if ( $ip ) {
print "IP : $ip\n";
}
}
sub ip2ipn {
return unpack 'N', inet_aton(shift);
}
sub ipn2ip {
return inet_ntoa( pack 'N', shift );
}
--
Nick
From wernerm at ifusion.co.za Thu Jul 3 04:48:01 2003
From: wernerm at ifusion.co.za (Werner Moller)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] perl -> MS SQLserver
Message-ID: <2E3F96E0A649D4118AFD00105AD507BF0417188D@mail.ifusion.co.za>
I'm going to try this right now! Do you do inserts as well?
Cheers,
Werner
-----Original Message-----
From: Spike [mailto:spikeh@mweb.co.za]
Sent: 27 June 2003 12:31
To: Za-pm@mail.pm.org
Subject: Re: [Za-pm] perl -> MS SQLserver
All working fine!
M$ SQL is a pain but I now have a perl script on my LINUX box that queries a
MS SQLservr 2000 database onon an NT box.
I am useing the Sybase::DBD module which happily talks to MS via the TDS
protocol with no ODBC cluients in the way to complicate and slow things
down.
Hell - I think I shall have the rest of the day off
Thanks Oscar for the pointer to freetds.org
At 2003/06/26 12:44 PM, Oskar Pearson wrote:
Hi
> It's not the best software on earth, by the way - do some
> extensive testing to ensure it's not giving you bogus results;
> I've had problems with, for example, very very large numbers
> being fed back wrong.
Sorry to reply to my own reply. Just a note that the above was
with freetds 0.53-7 - I don't know if later versions are
better.
http://www.freetds.org/
Latest version is 0.61.
The numbers were numeric(18,0)s, if I remember correctly.
Oskar
--
Oskar Pearson
Qualica Technologies (Pty) Ltd
web: http://www.qualica.com/
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
_____
This e-mail message has been scanned for Viruses and Content and cleared by
Ifusion's MailMarshal Gateway
_____
#####################################################################################
Note:
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any mistransmission. If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. IFusion (PTY) Ltd and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.
Thank You.
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030703/342a0454/attachment.htm
From wernerm at ifusion.co.za Tue Jul 8 05:08:25 2003
From: wernerm at ifusion.co.za (Werner Moller)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] perl -> MS SQLserver
Message-ID: <2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.za>
Many thanks to Spike for his solution on UX to MSSQL, a brilliant solution.
One actually has FULL functionality with this which includes stored procs,
triggers, creating DB's, users etc. I'm very impressed as I've tried almost
everything I've read on the net so far with no avail. All you actually need
is the freetds sybase library and teh DBD:Sybase module itself.
Well done
and many thanks,
Werner M?ller
-----Original Message-----
From: Spike [mailto:spikeh@mweb.co.za]
Sent: 27 June 2003 12:31
To: Za-pm@mail.pm.org
Subject: Re: [Za-pm] perl -> MS SQLserver
All working fine!
M$ SQL is a pain but I now have a perl script on my LINUX box that queries a
MS SQLservr 2000 database onon an NT box.
I am useing the Sybase::DBD module which happily talks to MS via the TDS
protocol with no ODBC cluients in the way to complicate and slow things
down.
Hell - I think I shall have the rest of the day off
Thanks Oscar for the pointer to freetds.org
At 2003/06/26 12:44 PM, Oskar Pearson wrote:
Hi
> It's not the best software on earth, by the way - do some
> extensive testing to ensure it's not giving you bogus results;
> I've had problems with, for example, very very large numbers
> being fed back wrong.
Sorry to reply to my own reply. Just a note that the above was
with freetds 0.53-7 - I don't know if later versions are
better.
http://www.freetds.org/
Latest version is 0.61.
The numbers were numeric(18,0)s, if I remember correctly.
Oskar
--
Oskar Pearson
Qualica Technologies (Pty) Ltd
web: http://www.qualica.com/
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
_____
This e-mail message has been scanned for Viruses and Content and cleared by
Ifusion's MailMarshal Gateway
_____
#####################################################################################
Note:
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any mistransmission. If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. IFusion (PTY) Ltd and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.
Thank You.
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030708/c3085bd1/attachment.htm
From spikeh at mweb.co.za Tue Jul 8 05:58:18 2003
From: spikeh at mweb.co.za (Spike)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] passing HoH refs to a sub
In-Reply-To: <2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.z
a>
Message-ID: <5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
I have a hash of hashes and want to pass a reference to that HoH to a sub
routine (which we call 'print_it' for this example).
So I go:-
print_it(\%HoH);
Now my problem comes when I want to de-reference the HoH values:-
sub print_it
{
my $hash_ref = shift;
foreach $key (keys %$hash_ref)
{
print "$key: ";
# up to here all is well!
# but I can't get the syntax to access the 'child' hash values
# This does not work:-
foreach $code ( keys %{ %$hash_ref{$key} } )
{
# print "$code = %$hash_ref{$key}{$code} ";
}
# the problem is in the 'keys %{ %$hash_ref{$key}' bit.
Using the hash directly the following would be valid:-
foreach $key (keys %HoH)
{
print "$key: ";
foreach $code ( keys %{ $HoH{$key} } )
{
print "$code = $HoH{$key}{$code} ";
}
print "\n";
}
Any ideas on the correct syntax??
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030708/f5e95886/attachment.htm
From oskar at qualica.com Tue Jul 8 06:56:46 2003
From: oskar at qualica.com (Oskar Pearson)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] passing HoH refs to a sub
In-Reply-To: <5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
References: <2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.za>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
Message-ID: <20030708115646.GO11861@qualica.com>
Hi
Hope this helps.
There are various syntaxes that work, but I generally
use something like this:
#!/usr/bin/perl
my %hash;
$hash{first1}{second1} = 'hello';
$hash{first2}{second2} = 'world';
$hash{first3}{second3} = 1;
hash_display (\%hash);
sub hash_display {
my $hash = shift;
foreach my $key (keys %{ $hash }) {
foreach my $subkey (keys %{ $$hash{$key} }) {
print "key $key, subkey $subkey, " . $$hash{$key}{$subkey} . "\n";
}
}
}
:~$ perl t.pl
key first1, subkey second1, hello
key first2, subkey second2, world
key first3, subkey second3, 1
:~$
From spikeh at mweb.co.za Tue Jul 8 08:30:43 2003
From: spikeh at mweb.co.za (Spike)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] passing HoH refs to a sub
In-Reply-To: <20030708115646.GO11861@qualica.com>
References: <5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
<2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.za>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
Message-ID: <5.2.1.1.0.20030708153003.039b33c0@pop3.mweb.co.za>
Thanks - I was getting quite frustrated trying to get that right!
At 2003/07/08 01:56 PM, Oskar Pearson wrote:
>Hi
>
>
>Hope this helps.
>
>There are various syntaxes that work, but I generally
>use something like this:
>
>
>#!/usr/bin/perl
>
>my %hash;
>$hash{first1}{second1} = 'hello';
>$hash{first2}{second2} = 'world';
>$hash{first3}{second3} = 1;
>
>hash_display (\%hash);
>
>sub hash_display {
> my $hash = shift;
>
> foreach my $key (keys %{ $hash }) {
> foreach my $subkey (keys %{ $$hash{$key} }) {
> print "key $key, subkey $subkey, " .
> $$hash{$key}{$subkey} . "\n";
> }
> }
>}
>
>
>:~$ perl t.pl
>key first1, subkey second1, hello
>key first2, subkey second2, world
>key first3, subkey second3, 1
>:~$
>
>_______________________________________________
>Za-pm mailing list
>Za-pm@mail.pm.org
>http://mail.pm.org/mailman/listinfo/za-pm
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030708/42019328/attachment.htm
From lee.engel at vcontractor.co.za Tue Jul 8 06:05:37 2003
From: lee.engel at vcontractor.co.za (Lee Shane Engel(Cont-Gert))
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] passing HoH refs to a sub
Message-ID: <62E6342BA20CC9498F54F48E58F7238E0D443D@zactn02001.vodacom.corp>
dereferencing hash of hashes you do like this:
$$name_of_hash{'key1'}->{'key_of_inner_hash'};
I could be mistaken.
Cheers,
Lee
-----Original Message-----
From: za-pm-bounces@mail.pm.org [mailto:za-pm-bounces@mail.pm.org]On Behalf Of Spike
Sent: 08 July 2003 12:58
To: Za-pm@mail.pm.org
Subject: [Za-pm] passing HoH refs to a sub
I have a hash of hashes and want to pass a reference to that HoH to a sub routine (which we call 'print_it' for this example).
So I go:-
print_it(\%HoH);
Now my problem comes when I want to de-reference the HoH values:-
sub print_it
{
my $hash_ref = shift;
foreach $key (keys %$hash_ref)
{
print "$key: ";
# up to here all is well!
# but I can't get the syntax to access the 'child' hash values
# This does not work:-
foreach $code ( keys %{ %$hash_ref{$key} } )
{
# print "$code = %$hash_ref{$key}{$code} ";
}
# the problem is in the 'keys %{ %$hash_ref{$key}' bit.
Using the hash directly the following would be valid:-
foreach $key (keys %HoH)
{
print "$key: ";
foreach $code ( keys %{ $HoH{$key} } )
{
print "$code = $HoH{$key}{$code} ";
}
print "\n";
}
Any ideas on the correct syntax??
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
?This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.asp "
From spikeh at mweb.co.za Wed Jul 9 05:48:32 2003
From: spikeh at mweb.co.za (Spike)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] perl and multi processors
In-Reply-To: <5.2.1.1.0.20030708153003.039b33c0@pop3.mweb.co.za>
References: <20030708115646.GO11861@qualica.com>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
<2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.za>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
Message-ID: <5.2.1.1.0.20030709124631.0385c380@pop3.mweb.co.za>
Can anyone tell me if it necessary to do anything special to get perl to
use all the processors in a multi-processor machine ?
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030709/a1b94f84/attachment.htm
From nick at cleaton.net Wed Jul 9 06:07:05 2003
From: nick at cleaton.net (Nick Cleaton)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] perl and multi processors
In-Reply-To: <5.2.1.1.0.20030709124631.0385c380@pop3.mweb.co.za>
References: <20030708115646.GO11861@qualica.com>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
<2E3F96E0A649D4118AFD00105AD507BF04171D1D@mail.ifusion.co.za>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
<5.2.1.1.0.20030709124631.0385c380@pop3.mweb.co.za>
Message-ID: <20030709110705.GA344@lt1.cleaton.net>
On Wed, Jul 09, 2003 at 12:48:32PM +0200, Spike wrote:
> Can anyone tell me if it necessary to do anything special to get perl to
> use all the processors in a multi-processor machine ?
You have to either use threads (perldoc perlthrtut) or have several
perl processes running to take advantage of the extra CPUs.
--
Nick
From nico at itfirms.co.za Wed Jul 9 12:07:07 2003
From: nico at itfirms.co.za (Nico Coetzee)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] perl and multi processors
In-Reply-To: <5.2.1.1.0.20030709124631.0385c380@pop3.mweb.co.za>
References: <20030708115646.GO11861@qualica.com>
<5.2.1.1.0.20030708124534.03a09458@pop3.mweb.co.za>
<5.2.1.1.0.20030709124631.0385c380@pop3.mweb.co.za>
Message-ID: <200307091907.07441.nico@itfirms.co.za>
Parallel::ForkManager
Even works with OpenMosix :)
Cheers
On Wednesday 09 July 2003 12:48, Spike wrote:
> Can anyone tell me if it necessary to do anything special to get perl to
> use all the processors in a multi-processor machine ?
>
>
>
>
>
> Spike Hodge
>
> UNIX Programmer
> M-Web Technology
> 021 596 8496
> 082 901 5265
>
> Click here and make M-Web your homepage
> http://homepage.mweb.co.za
--
Nico Coetzee
http://www.itfirms.co.za/
http://za.pm.org/
http://forums.databasejournal.com/
To the systems programmer, users and applications serve only to provide a
test load.
From nico at itfirms.co.za Sat Jul 12 06:15:12 2003
From: nico at itfirms.co.za (Nico Coetzee)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] Spoofing UDP Packets
Message-ID: <200307121315.12136.nico@itfirms.co.za>
Hi all
Need some help. It seems since Kerlnel 2.4 ( Linux ), you cant 'spoof' the
source address of UDP packets. I need to do this to forward Netflow UDP
packets from Cisco devices to Netwatch (
). Problem is, Netwatch sees my Linux
box as the source address for all the packets, and tries to do a SNMP walk
on my machine. Also, Netwatch can't forward Netflow pactets, so that's why
I get them first.
I already have a program that cathes the UDP pactets on the Linux box, and
then splits in in two, forwarding one leg to a Perl service on the Linux
box that does some Netflow analysis, and the second leg get's forwarded to the
Netwatch box. I tried with iptables to spoof the source address, but that
didn't work.
I can write a UDP client and UDP server ( from examples from the Perl
Cookbook ), but I want to know if my 'server' can simply rewrite the
source address and forward it to Netwatch.
Any ideas?
Thanks
--
Nico Coetzee
http://www.itfirms.co.za/
http://za.pm.org/
http://forums.databasejournal.com/
To the systems programmer, users and applications serve only to provide a
test load.
From nick at cleaton.net Sat Jul 12 07:16:44 2003
From: nick at cleaton.net (Nick Cleaton)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] Spoofing UDP Packets
In-Reply-To: <200307121315.12136.nico@itfirms.co.za>
References: <200307121315.12136.nico@itfirms.co.za>
Message-ID: <20030712121644.GC295@lt1.cleaton.net>
On Sat, Jul 12, 2003 at 01:15:12PM +0200, Nico Coetzee wrote:
>
> Need some help. It seems since Kerlnel 2.4 ( Linux ), you cant 'spoof' the
> source address of UDP packets. I need to do this to forward Netflow UDP
> packets from Cisco devices to Netwatch (
> ). Problem is, Netwatch sees my Linux
> box as the source address for all the packets, and tries to do a SNMP walk
> on my machine. Also, Netwatch can't forward Netflow pactets, so that's why
> I get them first.
>
> I already have a program that cathes the UDP pactets on the Linux box, and
> then splits in in two, forwarding one leg to a Perl service on the Linux
> box that does some Netflow analysis, and the second leg get's forwarded to the
> Netwatch box. I tried with iptables to spoof the source address, but that
> didn't work.
>
> I can write a UDP client and UDP server ( from examples from the Perl
> Cookbook ), but I want to know if my 'server' can simply rewrite the
> source address and forward it to Netwatch.
>
> Any ideas?
Net::RawIP might do it.
--
Nick
From kmf at pop.co.za Sat Jul 12 12:04:37 2003
From: kmf at pop.co.za (Karl Fischer)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] Perl Training??
Message-ID: <200307121904.37260.kmf@pop.co.za>
Is there a place that teaches Perl?
thanks
Karl
From return at tm-hosting.com Thu Jul 17 09:00:37 2003
From: return at tm-hosting.com (Sarah Williams)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] ZA.PM.ORG
Message-ID: <200307171439.h6HEdEb12441@mail.pm.org>
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030717/b8e3956e/attachment.htm
From nico at itfirms.co.za Thu Jul 17 12:37:57 2003
From: nico at itfirms.co.za (Nico Coetzee)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] ZA.PM.ORG
In-Reply-To: <200307171439.h6HEdEb12441@mail.pm.org>
References: <200307171439.h6HEdEb12441@mail.pm.org>
Message-ID: <200307171937.57062.nico@itfirms.co.za>
On Thursday 17 July 2003 16:00, Sarah Williams wrote:
>
Please forgive - I thought I rejected this, but it seems I didn't select the
correct option.
Cheers
--
Nico Coetzee
http://www.itfirms.co.za/
http://za.pm.org/
http://forums.databasejournal.com/
To the systems programmer, users and applications serve only to provide a
test load.
From nico at itfirms.co.za Fri Jul 18 13:58:06 2003
From: nico at itfirms.co.za (Nico Coetzee)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] ZA.PM.ORG
In-Reply-To: <5.1.0.14.2.20030717211448.01d73a08@pop.mighty.co.za>
References: <200307171439.h6HEdEb12441@mail.pm.org>
<5.1.0.14.2.20030717211448.01d73a08@pop.mighty.co.za>
Message-ID: <200307182058.06869.nico@itfirms.co.za>
On Thursday 17 July 2003 21:15, Rory Austin wrote:
> Thats ok. I'll stick it with all the others.
>
> At 07:37 PM 2003/07/17, you wrote:
> >On Thursday 17 July 2003 16:00, Sarah Williams wrote:
> > >
> >
> >Please forgive - I thought I rejected this, but it seems I didn't select
> > the correct option.
mmmm... suddenly my mail client is moist and dripping with sarcasm - hehe
--
Nico Coetzee
http://www.itfirms.co.za/
http://za.pm.org/
http://forums.databasejournal.com/
To the systems programmer, users and applications serve only to provide a
test load.
From spikeh at mweb.co.za Tue Jul 29 08:28:02 2003
From: spikeh at mweb.co.za (Spike)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] graphs
In-Reply-To: <200307182058.06869.nico@itfirms.co.za>
References: <5.1.0.14.2.20030717211448.01d73a08@pop.mighty.co.za>
<200307171439.h6HEdEb12441@mail.pm.org>
<5.1.0.14.2.20030717211448.01d73a08@pop.mighty.co.za>
Message-ID: <5.2.1.1.2.20030729152523.01b9e0f0@pop3.mweb.co.za>
Hi All
Anybody got ant recommendations for a perl graphing package. I need to
present some database data as graphs on a web page. It's not complex data
and I would like to find a nice simple-to-use package.
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030729/2aa7538e/attachment.htm
From tvilliers at lastminute.com Tue Jul 29 08:33:15 2003
From: tvilliers at lastminute.com (Tielman De Villiers)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] graphs
Message-ID:
libgd and corresponding perl module GD
Tielman de Villiers
Back Office Developer
Address: 4 Buckingham Gate, London SW1E 6JP
Tel: +44(0)20.7802.4393
Fax: +44(0)20.7802.9302
email: tvilliers@lastminute.com
do something lastminute.com
-----Original Message-----
From: Spike [mailto:spikeh@mweb.co.za]
Sent: 29 July 2003 14:28
To: za.pm.org
Subject: [Za-pm] graphs
Hi All
Anybody got ant recommendations for a perl graphing package. I need to
present some database data as graphs on a web page. It's not complex data
and I would like to find a nice simple-to-use package.
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030729/9376e640/attachment.htm
From nico at itfirms.co.za Tue Jul 29 12:55:22 2003
From: nico at itfirms.co.za (Nico Coetzee)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] graphs
In-Reply-To:
References:
Message-ID: <200307291955.22545.nico@itfirms.co.za>
On Tuesday 29 July 2003 15:33, Tielman De Villiers wrote:
> libgd and corresponding perl module GD
>
I couldn't get the image map code for HTML output to work. Hopefully they have
fixed this, as I just don't have the time :)
BTW: something else you want want to look at is Ploticus
which has nothing realy to do with Perl,
except that you can call it from Perl, and use it with your CGI/mod_perl
environment. Also does wonders with MySQL data :)
Cheers
>
> Tielman de Villiers
> Back Office Developer
> Address: 4 Buckingham Gate, London SW1E 6JP
> Tel: +44(0)20.7802.4393
> Fax: +44(0)20.7802.9302
> email: tvilliers@lastminute.com
>
> do something lastminute.com
>
> -----Original Message-----
> From: Spike [mailto:spikeh@mweb.co.za]
> Sent: 29 July 2003 14:28
> To: za.pm.org
> Subject: [Za-pm] graphs
>
>
>
> Hi All
> Anybody got ant recommendations for a perl graphing package. I need to
> present some database data as graphs on a web page. It's not complex data
> and I would like to find a nice simple-to-use package.
>
>
>
>
>
>
>
> Spike Hodge
>
> UNIX Programmer
> M-Web Technology
> 021 596 8496
> 082 901 5265
>
> Click here and make M-Web your homepage
> http://homepage.mweb.co.za
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
--
Nico Coetzee
http://www.itfirms.co.za/
http://za.pm.org/
http://forums.databasejournal.com/
To the systems programmer, users and applications serve only to provide a
test load.
From spikeh at mweb.co.za Wed Jul 30 00:25:29 2003
From: spikeh at mweb.co.za (Spike)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] graphs
In-Reply-To: <200307291955.22545.nico@itfirms.co.za>
References:
Message-ID: <5.2.1.1.2.20030730072312.01bdd4c0@pop3.mweb.co.za>
humm, - it's the "time" bit I was hoping to avoid - just a nice simple
package that would generate gifs.
At 2003/07/29 07:55 PM, Nico Coetzee wrote:
>On Tuesday 29 July 2003 15:33, Tielman De Villiers wrote:
> > libgd and corresponding perl module GD
> >
>
>I couldn't get the image map code for HTML output to work. Hopefully they
>have
>fixed this, as I just don't have the time :)
>
>BTW: something else you want want to look at is Ploticus
> which has nothing realy to do with Perl,
>except that you can call it from Perl, and use it with your CGI/mod_perl
>environment. Also does wonders with MySQL data :)
>
>Cheers
>
> >
> > Tielman de Villiers
> > Back Office Developer
> > Address: 4 Buckingham Gate, London SW1E 6JP
> > Tel: +44(0)20.7802.4393
> > Fax: +44(0)20.7802.9302
> > email: tvilliers@lastminute.com
> >
> > do something lastminute.com
> >
> > -----Original Message-----
> > From: Spike [mailto:spikeh@mweb.co.za]
> > Sent: 29 July 2003 14:28
> > To: za.pm.org
> > Subject: [Za-pm] graphs
> >
> >
> >
> > Hi All
> > Anybody got ant recommendations for a perl graphing package. I need to
> > present some database data as graphs on a web page. It's not complex data
> > and I would like to find a nice simple-to-use package.
> >
> >
> >
> >
> >
> >
> >
> > Spike Hodge
> >
> > UNIX Programmer
> > M-Web Technology
> > 021 596 8496
> > 082 901 5265
> >
> > Click here and make M-Web your homepage
> > http://homepage.mweb.co.za
> > ________________________________________________________________________
> > This e-mail has been scanned for all viruses by Star Internet. The
> > service is powered by MessageLabs. For more information on a proactive
> > anti-virus service working around the clock, around the globe, visit:
> > http://www.star.net.uk
> > ________________________________________________________________________
>
>--
>Nico Coetzee
>
>http://www.itfirms.co.za/
>http://za.pm.org/
>http://forums.databasejournal.com/
>
>To the systems programmer, users and applications serve only to provide a
>test load.
>
>_______________________________________________
>Za-pm mailing list
>Za-pm@mail.pm.org
>http://mail.pm.org/mailman/listinfo/za-pm
Spike Hodge
UNIX Programmer
M-Web Technology
021 596 8496
082 901 5265
Click here and make M-Web your homepage
http://homepage.mweb.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030730/15db3a71/attachment.htm
From jyoung at shoprite.co.za Wed Jul 30 01:34:14 2003
From: jyoung at shoprite.co.za (Josh Young)
Date: Mon Aug 2 21:40:00 2004
Subject: [Za-pm] Perl graphing package (re Spike Hodge)
Message-ID:
This URL gves some promising leads:
http://www.devx.com/enterprise/Article/16270/1954?pf=true
Josh Young
Shoprite Checkers IT Technical Services
Tel: +27 21 980 4935
Cell: +27 83 229 6352
Fax: +27 21 980 4150
"There are 10 kinds of people: those that understand binary, and those
that don't." [Anon]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030730/a9cb16bb/attachment.htm