Re: pattern -help

2008-06-22 Thread John W. Krahn
Pad wrote: More detail about the format would help. Assuming the expected format is something like: _begin CLASS_A ... _end CLASS_A ... _begin CLASS_B ... _end CLASS_B Thanks Yitzle and Rob for you quick response. I apprecitiate your help and writing style tips. I just want to give more clari

Re: pattern -help

2008-06-22 Thread Pad
> More detail about the format would help. > Assuming the expected format is something like: > > _begin CLASS_A > ... > _end CLASS_A > ... > _begin CLASS_B > ... > _end CLASS_B > > == CODE == > > Thanks Yitzle and Rob for you quick response. I apprecitiate your help and writing style tips. I jus

Re: graphics in perl

2008-06-22 Thread Dodger
Uhm, dude... a Perl module won't do that because Perl is a language, not a display technology. You're looking for something like Shockwave Flash. Though you can certainly have Perl generate everything. 2008/6/22 Malka Cymbalista <[EMAIL PROTECTED]>: > We are running perl 5.8.5 on a Linux machine

Out of memory! Callback called exit. END failed--call queue aborted

2008-06-22 Thread Ravi Malghan
Hi: I have a simple script which connects to a few databases. When I run the script I get the "Out of memory! Callback called exit. END failed--call queue aborted." error. It runs fine on other similar machines. Below is an example. As soon as I add the 3rd database connection it starts giving m

Re: pattern -help

2008-06-22 Thread Rob Dixon
yitzle wrote: > On 6/22/08, Pad <[EMAIL PROTECTED]> wrote: >> Need your help again! >> >> I have a file that contains several _begin and _end classes with >> _begin is that start of the block and _end being the end of block. >> Sometimes we miss either _begin or _end. I am trying to write a >>

Re: pattern -help

2008-06-22 Thread Rob Dixon
Rob Dixon wrote: > Pad wrote: >> I have a file that contains several _begin and _end classes with >> _begin is that start of the block and _end being the end of block. >> Sometimes we miss either _begin or _end. I am trying to write a >> script that find every _begin should contain _end. If for

RE: graphics in perl

2008-06-22 Thread michael watson (IAH-C)
I'd recommend interfacing with R (http://www.r-project.org) From: Malka Cymbalista [mailto:[EMAIL PROTECTED] Sent: Sun 22/06/2008 10:27 AM To: [EMAIL PROTECTED]; beginners@perl.org; [EMAIL PROTECTED] Subject: graphics in perl We are running perl 5.8.5 on a Linu

Re: graphics in perl

2008-06-22 Thread Francisco Valladolid
On Sun, Jun 22, 2008 at 4:49 AM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Malka Cymbalista wrote: >> >> We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 >> with mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45) >> >> We have been asked to write a web application

Re: Basic script to send mail details!

2008-06-22 Thread Francisco Valladolid
hi On Sun, Jun 22, 2008 at 2:47 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > Francisco Valladolid wrote: >> >> This is the script: >> >> #!/usr/bin/perl -w >> use strict; >> use CGI qw/:standard/; >> >> require Mail::Send; >> >> my ($msg, $fh, $body, $mail_to); >> >> my $body =<> bla bla bl

Re: pattern -help

2008-06-22 Thread Rob Dixon
Pad wrote: > > I have a file that contains several _begin and _end classes with > _begin is that start of the block and _end being the end of block. > Sometimes we miss either _begin or _end. I am trying to write a > script that find every _begin should contain _end. If for reasons > _end is mi

Re: about perl module uninstallation

2008-06-22 Thread Randal L. Schwartz
> ""Rajnikant"" == "Rajnikant" <[EMAIL PROTECTED]> writes: "Rajnikant"> How can I uninstall these modules from my perl? If you installed them with a vendor-provided package manager (rpm, yum, etc), see the instructions provided with your package manager. Note: the CPAN Shell and the CPAN-PL

Re: pattern -help

2008-06-22 Thread yitzle
On 6/22/08, Pad <[EMAIL PROTECTED]> wrote: > Need your help again! > > I have a file that contains several _begin and _end classes with > _begin is that start of the block and _end being the end of block. > Sometimes we miss either _begin or _end. I am trying to write a > script that find ever

pattern -help

2008-06-22 Thread Pad
Need your help again! I have a file that contains several _begin and _end classes with _begin is that start of the block and _end being the end of block. Sometimes we miss either _begin or _end. I am trying to write a script that find every _begin should contain _end. If for reasons _end is mis

Re: reading in a file, line by line by picking certian lines

2008-06-22 Thread Pat Rice
Hi all Thanks for all the help with this, going to have some fun implementing it :) Thanks Pat -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: graphics in perl

2008-06-22 Thread Rob Dixon
Malka Cymbalista wrote: > > We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 > with mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45) > > We have been asked to write a web application that requires plotting > capabilities. We do most of our web programming i

graphics in perl

2008-06-22 Thread Malka Cymbalista
We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 with mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45) We have been asked to write a web application that requires plotting capabilities. We do most of our web programming in perl so I am looking for a perl

Re: Basic script to send mail details!

2008-06-22 Thread Gunnar Hjalmarsson
Francisco Valladolid wrote: This is the script: #!/usr/bin/perl -w use strict; use CGI qw/:standard/; require Mail::Send; my ($msg, $fh, $body, $mail_to); my $body =new(Subject=>'subject'); $msg->to($mail_to); $msg->cc('[EMAIL PROTECTED]'); $fh = $msg->open;

Re: Perl statement questions

2008-06-22 Thread Rob Dixon
Jim Nathan wrote: > > I'm new to Perl and I just got a position at a company where we use a > couple of Perl scripts to both set or reset passwords and add user > accounts. These come in handy when users request accounts on multiple > servers. A guy who no longer works there wrote at least one of t