Re: Debugger question

2004-12-20 Thread Red King
Thanks Peter! That solved my problem. Regards, Amit On 20 Dec 2004 16:36:27 -, Peter Scott <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Red King) writes: > >There is a script that "uses" a couple of modules and one of those > >modules is setting an enviro

Re Pretty e-mails

2004-12-20 Thread Hawkes, Mick I
Thanks for your input Lee, Just a couple of things The boss is pretty cool really, he put me onto Perl and HTML Templates in the first place but we are both feeling our way with sending email with it. I work for Telstra, so we have no influence over the software versions we have! :-) though I do

Re: "Pretty" Emails

2004-12-20 Thread JupiterHost.Net
Hawkes, Mick I wrote: Hi all, Hello, I am currently using the MIME::Lite module to send Emails, However my boss wants me to line the tables up better and generally pretty it up A bit (bold) etc. I can't use HTML as our company is still using NT4 Outlook. Your boss wants you to format text without

"Pretty" Emails

2004-12-20 Thread Hawkes, Mick I
Hi all, I am currently using the MIME::Lite module to send Emails, However my boss wants me to line the tables up better and generally pretty it up A bit (bold) etc. I can't use HTML as our company is still using NT4 Outlook. Any ideas on a possible formatting module I can use or any suggestions a

Re: critique me script!

2004-12-20 Thread JupiterHost.Net
Christopher Spears wrote: Here it is! Thanks for the help! Any critiques would be appreciated! I have a couple :) #!/usr/bin/perl -w use strict; my $Pixarport = 7498; Is this script for pixar animation or ??? my $host = "lex"; my $Pixarfile = $Pixarport."@".$host; my $handles; my $features; my $c

critique me script!

2004-12-20 Thread Christopher Spears
Here it is! Thanks for the help! Any critiques would be appreciated! #!/usr/bin/perl -w use strict; my $Pixarport = 7498; my $host = "lex"; my $Pixarfile = $Pixarport."@".$host; my $handles; my $features; my $count = 0; my $answer; print "Running check_licenses.\n"; my @input = `check_licenses

Re: Installing Gd

2004-12-20 Thread Ing. Branislav Gerzo
Octavian Rasnita [OR], on Monday, December 20, 2004 at 17:59 (+0200) wrote about: OR> Thanks. I have tried that, but it told me that it cannot find the ppd for OR> GD. [c:\4nt]ppm install GD Install 'GD' version 2.16 in ActivePerl 5.8.4.810. ... ... mayb

Re: KILL INT can not wake up $SIG{INT}

2004-12-20 Thread mgoland
- Original Message - From: Kelvin Wu <[EMAIL PROTECTED]> Date: Monday, December 20, 2004 0:36 am Subject: KILL INT can not wake up $SIG{INT} > Hi list, Hello > > Anyone has such experience? KILL INT pid cannot wake up $SIG{INT} > sub{}. Only on Window's, but then again I don't think

X graphic display halts Perl execution

2004-12-20 Thread Jeffrey Paul Burger
Under Unix on Mac OS X 10.3.5, I'm writing a Perl script that uses some ImageMagick and PerlMagick calls to read, manipulate and display images. I'm executing the script from an X11 terminal in order to see the image. X opens a new window and displays the graphic just fine, but the Perl script paus

RE: Missing output on browser

2004-12-20 Thread Moon, John
I'm trying to execute a select query from a Perl script and display the results in IE. The script works fine from the command line, it displays the results of the query. However, when it runs from IE it only displays the word 'Start:'. Any ideas? Thanks in advance. -Paul Here's the script: #!/us

Calculating week numbers across years

2004-12-20 Thread Kevin Old
Hello everyone, I have a date and I'd like to know if it falls between certain frequencies. freq() accepts a date and a frequency (w = weekly, eow = every other week, m = monthly, eom = every other month). It then checks to see if the date falls in the appropriate frequency from today. use Date::

Missing output on browser

2004-12-20 Thread Paul Ohashi
Hi All, I'm trying to execute a select query from a Perl script and display the results in IE. The script works fine from the command line, it displays the results of the query. However, when it runs from IE it only displays the word 'Start:'. Any ideas? Thanks in advance. -Paul Here's the scrip

Re: Eficiency advice

2004-12-20 Thread Jenda Krynicky
From: "Octavian Rasnita" <[EMAIL PROTECTED]> > Which would be the best method for creating a better program, > accessing the content of a hash or a dereference like $hash{key}, > $ref->{key} in many places in the script, or using: > > my $value = $hash{key}, ... my $value = $ref->{key} then using

Re: Eficiency advice

2004-12-20 Thread JupiterHost.Net
Octavian Rasnita wrote: Hi, Hello, Which would be the best method for creating a better program, accessing the content of a hash or a dereference like $hash{key}, $ref->{key} in many places in the script, or using: my $value = $hash{key}, ... my $value = $ref->{key} then using $value for many time

perl.beginners Weekly list FAQ posting

2004-12-20 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Re: Debugger question

2004-12-20 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Red King) writes: >There is a script that "uses" a couple of modules and one of those >modules is setting an environmental variable. I need to determine >which of the used modules is doing that. Could someone let me know how >I should use the debu

Re: Installing Gd

2004-12-20 Thread Octavian Rasnita
Thanks. I have tried that, but it told me that it cannot find the ppd for GD. Teddy - Original Message - From: "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> To: Sent: Monday, December 20, 2004 4:40 PM Subject: Re: Installing Gd Octavian Rasnita [OR], on Monday, December 20, 2004 at 16:24

Re: trying to chroot perl and its modules

2004-12-20 Thread John
- Original Message - From: "John" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Saturday, December 18, 2004 6:22 PM Subject: trying to chroot perl and its modules copied the /usr/bin/perl to the /chroot/usr/bin/perl and the /usr/lib/perl5 to the /chroot/usr/lib/perl5 now when i

Re: trying to chroot perl and its modules

2004-12-20 Thread John
- Original Message - From: "John" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Saturday, December 18, 2004 6:22 PM Subject: trying to chroot perl and its modules copied the /usr/bin/perl to the /chroot/usr/bin/perl and the /usr/lib/perl5 to the /chroot/usr/lib/perl5 now when i try

Eficiency advice

2004-12-20 Thread Octavian Rasnita
Hi, Which would be the best method for creating a better program, accessing the content of a hash or a dereference like $hash{key}, $ref->{key} in many places in the script, or using: my $value = $hash{key}, ... my $value = $ref->{key} then using $value for many times in the rest of the script?

Re: Installing Gd

2004-12-20 Thread Chris Devers
On Mon, 20 Dec 2004, Octavian Rasnita wrote: > I have tried to install Gd using the following: > > perl -MCPAN -e "install Gd;" Perl modules are case sensitive. Foo.pm and FOO.pm are different modules (or would be, if they existed.) Fix the case of the module you're installing and it should wo

Re: Installing Gd

2004-12-20 Thread Ing. Branislav Gerzo
Octavian Rasnita [OR], on Monday, December 20, 2004 at 16:24 (+0200) wrote: OR> And BTW. I hope I won't need to install a C compiler, then download Gd OR> tarball, and compile it manually if ( $your_perl_dist eq "Activestate" ) { `ppm install gd`; } else { download_activestate_perl() }

Re: Sorry a Java question

2004-12-20 Thread Traeder, Philipp
On Monday 20 December 2004 12:24, Anish Kumar K. wrote: > Hi > > Sorry this is not a question to post here...But searched the net for > java servlet group didn;yt find much... This is definitely not the right list for Java questions - I'd suggest to search Google directly for answers to your ques

Installing Gd

2004-12-20 Thread Octavian Rasnita
Hi all, I have tried to install Gd using the following: perl -MCPAN -e "install Gd;" Perl downloaded the package, and tried to install it, but it ended telling "Cannot install Gd. Don't know what it is". Do you have any idea what could be the problem or how to install Gd? Note: I use Perl 5.8.

Sorry a Java question

2004-12-20 Thread Anish Kumar K.
Hi Sorry this is not a question to post here...But searched the net for java servlet group didn;yt find much... I wnt to pass two values ina query string and then get the values in another serlvet using req.getQueryString() Any help will be usefull... Thanks Anish

Debugger question

2004-12-20 Thread Red King
Hi, There is a script that "uses" a couple of modules and one of those modules is setting an environmental variable. I need to determine which of the used modules is doing that. Could someone let me know how I should use the debugger to find this? That is, script.pl does something like: use Modu