Problem with GD::Graph

2006-09-15 Thread john
Hi all I have installed the GD::Graph module and I tried to run the example using this code #!/usr/bin/perl -w use GD::Graph; @data = ( ["1st","2nd","3rd","4th","5th","6th","7th", "8th", "9th"], [1,2,5,6,3, 1.5,1, 3, 4], [ sort { $a

Re: extracting several text from logs using regex

2006-09-15 Thread Mumia W.
On 09/14/2006 11:04 PM, Michael Alipio wrote: Hi, A log file contains several of these lines: session.blablahbla blablabla proto:6 blablabla srcip:90.0.0.1 blablabla blablabla srcport:3243 blablabla dstport:23 blablabla session.blablahbla blablabla proto:6 blablabla srcip:90.0.0.1 blab

Re: removing characters

2006-09-15 Thread Mumia W.
On 09/15/2006 12:54 AM, ubergoonz wrote: Hi, I have a certain variables of emplyee number which comes in the format of [a000] or [u000] {whereby 000 is some serial numbers}. I would like to remove the enclosed [ & ] see if it is belong to class a or u , i can do it as follow $v

Re: Problem with GD::Graph

2006-09-15 Thread Owen Cook
-- On Fri, 15 Sep 2006, john wrote: > Hi all > > > > I have installed the GD::Graph module and I tried to run the example using > this code > > > > > > #!/usr/bin/perl -w > > > > use GD::Graph; > > > > @data = ( > > ["1st","2nd","3rd","4th","5th","6th","7th", "8th", "9t

RE: Problem with GD::Graph

2006-09-15 Thread john
I replace the crusial line with the one below my $graph = GD::Graph::area->new(400, 300); and I received the error Can't locate object method "new" via package "GD::Graph::area" (perhaps you forgot to load "GD::Graph::area"?) at test2.pl line 11 I think that all these type of plotting are inclu

RE: Problem with GD::Graph

2006-09-15 Thread Owen Cook
On Fri, 15 Sep 2006, john wrote: > I replace the crusial line with the one below > > my $graph = GD::Graph::area->new(400, 300); > > and I received the error > > Can't locate object method "new" via package "GD::Graph::area" (perhaps you > forgot to load "GD::Graph::area"?) at test2.pl line 1

Re: Problem with GD::Graph

2006-09-15 Thread Mumia W.
On 09/15/2006 02:24 AM, john wrote: Hi all I have installed the GD::Graph module and I tried to run the example using this code [...] my $graph = GD::Graph::chart->new(400, 300); [...] I haven't installed GD::Graph yet, but the description provided by 'aptitude' doesn't describe a GD::Gr

Re: any traction on JPL?

2006-09-15 Thread Paul Johnson
On Thu, Sep 14, 2006 at 03:47:48PM -0700, Alan Campbell wrote: > anything I can find on this mail list & googling shows only JPL > references > 3 years old. Is there any active work on making > Java-Perl work together? JPL has recently been removed from the development version of Perl. You

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
Well, I did that Putting the use GD::Graph::area in the beginning and now the error is perl: relocation error: /usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/GD/GD.so: undefined symbol: gdFontGetLarge -Original Message- From: Alexandru Maximciuc [mailto:[EMAIL PROTECTED] Sent: Frida

running through regexp matches ($1-$n)

2006-09-15 Thread Michael Alipio
Hi, A log file contains several of these lines: session.blablahbla blablabla proto:6 blablabla srcip:90.0.0.1 blablabla blablabla srcport:3243 blablabla dstport:23 blablabla session.blablahbla blablabla proto:6 blablabla srcip:90.0.0.1 blablabla blablabla srcport:3243 blablabla dstport:2

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread Owen Cook
On Fri, 15 Sep 2006, john wrote: > Well, I did that > > Putting the use GD::Graph::area in the beginning > and now the error is > > perl: relocation error: > /usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/GD/GD.so: undefined symbol: > gdFontGetLarge Well it would seem to be an build type pro

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
Well , tried to recompile the GD-2.35 and the tests failed. It cannot recongised those functions. I have installed all the required modules. -Original Message- From: Owen Cook [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 12:47 PM To: john Cc: beginners@perl.org Subject:

Modules to extract calendar info from Exchange

2006-09-15 Thread William Paulsen \(W\)
Hi, Is there a perl module(s) that can extract calendar infrom from an MS Exchange server. I need to extract appmnts, meetings, etc such that I can SMS these message to a person(s) cellphone. Which modules are available, and how easy is it? William ~~

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread Owen Cook
On Fri, 15 Sep 2006, john wrote: > Well , tried to recompile the GD-2.35 and the tests failed. It cannot > recongised those functions. > > I have installed all the required modules. > > > > > -Original Message- > From: Owen Cook [mailto:[EMAIL PROTECTED] > Sent: Friday, September 15

Re: bizarre fractional exponents math

2006-09-15 Thread Dr.Ruud
Bryan R Harris schreef: > Can someone explain this behavior? > > % perl -e 'print -12.17**0.2, "\n"' > -1.64838295714428 > % perl -e 'print (-12.17)**(0.2), "\n"' > -12.17% perl -e 'print ((-12.17)**(0.2)), "\n"' > nan% Use "perl -we ...", or "perl -Mwarnings -e ...". -- Affijn, Ruud "Gewoon i

Re: extracting several text from logs using regex

2006-09-15 Thread John W. Krahn
Michael Alipio wrote: > Hi, Hello, > A log file contains several of these lines: > > session.blablahbla > blablabla proto:6 blablabla srcip:90.0.0.1 blablabla > blablabla srcport:3243 blablabla dstport:23 blablabla > > session.blablahbla > blablabla proto:6 blablabla srcip:90.0.0.1 blab

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
Where could I find the installed DG version since it's no visible in the GD man page. -Original Message- From: Owen Cook [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 1:15 PM To: john Cc: beginners@perl.org Subject: RE: Re[2]: Problem with GD::Graph On Fri, 15 Sep 2006,

Re: extracting several text from logs using regex

2006-09-15 Thread Dr.Ruud
Michael Alipio schreef: > A log file contains several of these lines: > > session.blablahbla > blablabla proto:6 blablabla srcip:90.0.0.1 blablabla > blablabla srcport:3243 blablabla dstport:23 blablabla > > session.blablahbla > blablabla proto:6 blablabla srcip:90.0.0.1 blablabla > blabla

Modules to extract calendar info from Exchange

2006-09-15 Thread William Paulsen \(W\)
Hi, Is there a perl module(s) that can extract calendar infrom from an MS Exchange server. I need to extract appmnts, meetings, etc such that I can SMS these message to a person(s) cellphone. Which modules are available, and how easy is it? William ~~

How to create XML files from simple plain text files?

2006-09-15 Thread sfantar
Hello All! I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? Thanks in advance for your help. Accédez au courrier électronique de La Poste sur www.l

Access elements of a array of hases

2006-09-15 Thread Geetha Weerasooriya
Hi , I have an Array of Hashes as follows: @array = ( { 'A'=>1, 'B' =>2, 'C'=>3, 'D'=>4} { 'A'=>5, 'B' =>6, 'C'=>7, 'D'=>8} { 'A'=>9, 'B' =>10, 'C'=>11, 'D'=>12} { 'A'=>13, 'B' =>14, 'C'=>15, 'D'=>16} { 'A'=>17, 'B' =>18, 'C'=>19, 'D'=>20} { 'A'=>21, 'B' =>22, 'C'=>23, 'D'=>24} ) I have gi

RANSAC method code for perl?

2006-09-15 Thread Saurabh Singhvi
Hi all, I am in need of a module which implements http://en.wikipedia.org/wiki/RANSAC I searched on cpan but couldn't find any. Where I can find it?? regards Saurabh

Re: RANSAC method code for perl?

2006-09-15 Thread Saurabh Singhvi
Hi Lee, Thanks for the reply. I searched around on span and google but I couldn't find any of the pages of PDL having anything on RANSAC. So if you could please specify where exactly to look for, it'd be great. thanks Saurabh On 9/15/06, Lee Goddard <[EMAIL PROTECTED]> wrote: > Hi all, > > I

Re: bizarre fractional exponents math

2006-09-15 Thread Bryan R Harris
Thank you, everyone! Note, it appears that the fifth root of -12.17 is not complex, try this: % perl -wle '$_=(-1.648382957144284)**5; print' ... but I don't blame perl for not finding it. Thanks for the tips on -wle, and for the info on print. I'm not sure how I'll do it, but I really need

Re: Access elements of a array of hases

2006-09-15 Thread Rob Dixon
Geetha Weerasooriya wrote: I have an Array of Hashes as follows: @array = ( { 'A'=>1, 'B' =>2, 'C'=>3, 'D'=>4} { 'A'=>5, 'B' =>6, 'C'=>7, 'D'=>8} { 'A'=>9, 'B' =>10, 'C'=>11, 'D'=>12} { 'A'=>13, 'B' =>14, 'C'=>15, 'D'=>16} { 'A'=>17, 'B' =>18, 'C'=>19, 'D'=>20} { 'A'=>21, 'B' =>22, 'C'=>23,

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread Tom Phoenix
On 9/15/06, William Paulsen (W) <[EMAIL PROTECTED]> wrote: Is there a perl module(s) that can extract calendar infrom from an MS Exchange server. I need to extract appmnts, meetings, etc such that I can SMS these message to a person(s) cellphone. Which modules are available, and how easy is i

Re: How to create XML files from simple plain text files?

2006-09-15 Thread Tom Phoenix
On 9/15/06, sfantar <[EMAIL PROTECTED]> wrote: I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? Have you checked CPAN yet? http://search.cpan.

Re: How to create XML files from simple plain text files?

2006-09-15 Thread SFantar
Tom Phoenix a écrit : On 9/15/06, sfantar <[EMAIL PROTECTED]> wrote: I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? Have you checked CPAN yet

Re: How to create XML files from simple plain text files?

2006-09-15 Thread lawrence
> > Yes, I have already checked the CPAN but I haven't found yet what I am > looking for. > Do you have to write my own script from scratch to convert plain text > files into XML files? Your question makes no sense. XML matching what doctype? What kind of plain text? -- To unsubscribe, e-

Re: Access elements of a array of hases

2006-09-15 Thread John W. Krahn
Geetha Weerasooriya wrote: > Hi , Hello, > I have an Array of Hashes as follows: > > @array = ( > { 'A'=>1, 'B' =>2, 'C'=>3, 'D'=>4} > { 'A'=>5, 'B' =>6, 'C'=>7, 'D'=>8} > { 'A'=>9, 'B' =>10, 'C'=>11, 'D'=>12} > { 'A'=>13, 'B' =>14, 'C'=>15, 'D'=>16} > { 'A'=>17, 'B' =>18, 'C'=>19, 'D'=>20}

Re: How to create XML files from simple plain text files?

2006-09-15 Thread Mumia W.
On 09/15/2006 07:12 AM, sfantar wrote: Hello All! I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? [...] XML::Simple can do it. -- To unsubscr

RE: How to create XML files from simple plain text files?

2006-09-15 Thread Johnson, Reginald \(GTI\)
Mumia, A good book that covers a lot of the basic stuff that you want to know is XML and Perl by Mark Riehl and Llya Sterin. I am reading it know. Within the first two chapters itcovers the question you are asking about. -Original Message- From: Mumia W. [mailto:[EMAIL PROTECTED] Sent: F

Re: running through regexp matches ($1-$n)

2006-09-15 Thread D. Bolliger
Michael Alipio am Freitag, 15. September 2006 09:30: > Hi, > > A log file contains several of these lines: As formatted below? One log entry consists of three lines, followed by an empty line? > session.blablahbla > blablabla proto:6 blablabla srcip:90.0.0.1 blablabla > blablabla srcport:324

Re: compiling PERL programs

2006-09-15 Thread hOURS
Hi everyone, I posed a question about compiling a while ago and got this response (below). It occurred to me that some of the text looked like things one might type into the window (a DOS window I believe it's called) that I run PERL programs from. When I typed in "perldoc perlc

Re: Access elements of a array of hases

2006-09-15 Thread D. Bolliger
Geetha Weerasooriya am Freitag, 15. September 2006 15:52: > Hi , > > I have an Array of Hashes as follows: > > @array = ( > { 'A'=>1, 'B' =>2, 'C'=>3, 'D'=>4} > { 'A'=>5, 'B' =>6, 'C'=>7, 'D'=>8} > { 'A'=>9, 'B' =>10, 'C'=>11, 'D'=>12} > { 'A'=>13, 'B' =>14, 'C'=>15, 'D'=>16} > { 'A'=>17, 'B' =>

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread D. Bolliger
William Paulsen (W) am Freitag, 15. September 2006 13:36: > Hi, Hi > Is there a perl module(s) that can extract calendar infrom from an MS > Exchange server. I need to extract appmnts, meetings, etc such that I > can SMS these message to a person(s) cellphone. Which modules are > available, an

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread D. Bolliger
Sorry: > > Is there a perl module(s) that can extract calendar infrom from an MS > > Exchange server. I need to extract appmnts, meetings, etc such that I > > can SMS these message to a person(s) cellphone. Which modules are > > available, and how easy is it? > > No idea (and no other answers)

RE: Modules to extract calendar info from Exchange

2006-09-15 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Can't answer the first, but on the second: I send text messages to my ATT cingular phone using sendmail to send the text. This gives me heads up when I have problems. Now I am also starting sending to another phone number using cingular, but it is a blackberry. This user receives

Re: Access elements of a array of hases

2006-09-15 Thread Xavier Mas i Ramón
A Divendres 15 Setembre 2006 22:21, D. Bolliger va escriure: > Geetha Weerasooriya am Freitag, 15. September 2006 15:52: > > Hi , > > > > I have an Array of Hashes as follows: > > > > @array = ( > > { 'A'=>1, 'B' =>2, 'C'=>3, 'D'=>4} > > { 'A'=>5, 'B' =>6, 'C'=>7, 'D'=>8} > > { 'A'=>9, 'B' =>10,

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread Owen Cook
-- On Fri, 15 Sep 2006, john wrote: > Where could I find the installed DG version since it's no visible in the GD > man page. > /usr/bin/gdlib-config --version but you might want to read /usr/bin/gdlib-config --help Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: compiling PERL programs

2006-09-15 Thread Jack Faley ( The Tao of Jack )
On 9/15/06, hOURS <[EMAIL PROTECTED]> wrote: Hi everyone, I posed a question about compiling a while ago and got this response (below). It occurred to me that some of the text looked like things one might type into the window (a DOS window I believe it's called) that I run PERL pr