problem installing Mail::Transport::Dbx

2008-11-05 Thread sanket vaidya
Hi all, I want to install Mail::Transport::Dbx module. I use Active perl 5.10 on Windows XP. I have downloaded the .tar file from CPAN. When I try to install manually following below steps perl makefile.pl nmake nmake test nmake install I get the following error for 2nd step It

multi-page from Tk::Canvas

2008-11-05 Thread Cort Morgan
Hi,   I am trying to print a canvas using the postscript method, but it's a really big canvas (not too wide, just high / long), and always comes out scaled to a single page. Any easy way to get the postscript method to make it a multi-page document, or should I just start hacking the

Re: merge 2 or more files together without creating new file

2008-11-05 Thread slow_leaner
On Nov 1, 6:57 am, [EMAIL PROTECTED] (John W. Krahn) wrote: slow_leaner wrote: On Oct 31, 10:27 am, [EMAIL PROTECTED] (Slow_leaner) wrote: Is there a way I can marge FILE2 into FILE1 or reverse together without creating a new merge file. I am not sure there are a better way to do it. If

Re: Help with Split

2008-11-05 Thread sanju . shah
On Nov 4, 5:16 am, [EMAIL PROTECTED] (Peter Scott) wrote: On Mon, 03 Nov 2008 21:12:40 -0800, sanju.shah wrote: I have a string:Confirming: yes Supplier Telephone: 213-923-0392 I want to split the string so that i can capture yes in $conf and 213-923-0392 in $tele.

Re: Help with Split

2008-11-05 Thread Rob Coops
On Wed, Nov 5, 2008 at 2:45 AM, [EMAIL PROTECTED] wrote: On Nov 4, 5:16 am, [EMAIL PROTECTED] (Peter Scott) wrote: On Mon, 03 Nov 2008 21:12:40 -0800, sanju.shah wrote: I have a string:Confirming: yes Supplier Telephone: 213-923-0392 I want to split the string so

Re: merge 2 or more files together without creating new file

2008-11-05 Thread John W. Krahn
slow_leaner wrote: On Nov 1, 6:57 am, [EMAIL PROTECTED] (John W. Krahn) wrote: slow_leaner wrote: Let me just add this to be clear. I am so beginner, almost 4 moths, and not getting anywhere with perl. I need some fire in my heart to keep me going. I just want someone to show me how to fish

Re: Can't get desired o/p with this code

2008-11-05 Thread Chas. Owens
On Wed, Nov 5, 2008 at 01:03, Anirban Adhikary [EMAIL PROTECTED] wrote: Dear List I am trying to check some modules are installed or not in the system and if modules are installed then trying to check their version number is according to our requirement or not. use strict; use warning; my

Re: merge 2 or more files together without creating new file

2008-11-05 Thread Chas. Owens
On Wed, Nov 5, 2008 at 10:17, John W. Krahn [EMAIL PROTECTED] wrote: snip open (IN, $_) or die can't open file $_; perldoc -q quoting You should also include the $! variable in the error message so you know *why* it failed. while (IN) { snip You should be using lexical filehandles and

pushing value to $t-src

2008-11-05 Thread Brian
Hello again could someone please help me? $ZZ on line 38 is a single letter output from $string (in this case f) I would like to get this value pushed to $ZZ on line 11 as it stands, the error I get at the browser is that it can't find

Re: pushing value to $t-src

2008-11-05 Thread John W. Krahn
Brian wrote: Hello again Hello, could someone please help me? I will try. $ZZ on line 38 is a single letter output from $string (in this case f) I would like to get this value pushed to $ZZ on line 11 Then you have to assign a value to it *before* line 11. as it

Re: merge 2 or more files together without creating new file

2008-11-05 Thread Paul Johnson
On Wed, Nov 05, 2008 at 11:05:30AM -0500, Chas. Owens wrote: while (IN) { snip You should be using lexical filehandles and the three argument version of open*: s/should/could/ or perhaps s/should be/should probably consider/ There is nothing inherently wrong with either standard

Re: pushing value to $t-src

2008-11-05 Thread Brian
Thanks John I tried swapping things around a bit, and now I get server error :-( #! c:\perl\bin\perl.exe -T use warnings; use strict; $number_in = 6; use CGI qw/:all/; use CGI::Carp qw/fatalsToBrowser/; use HTMLTMPL; my $t = HTMLTMPL-new(); $string1 = abcdef; $string2 = ghijkl; $string3

whats the perl command to run/execute a program or script

2008-11-05 Thread itshardtogetone
Hi, Whats the perl command to run a script or program. Thanks

Re: whats the perl command to run/execute a program or script

2008-11-05 Thread John W. Krahn
itshardtogetone wrote: Hi, Hello, Whats the perl command to run a script or program. my $standard_output = qxprogram; my $error_code = system qprogram; exec qprogram; open my $PIPE, '-|', qprogram; perldoc -f qx perldoc -f system perldoc -f exec perldoc -f open perldoc perlopentut

Re: pushing value to $t-src

2008-11-05 Thread Brian
After quite a bit of poking around in the script, I actually got it to work, well 99.9% anyway. $t-number_in( $number_in ); Going by some other pages I have, I understood the above line to mean that -number_in will be replaced by the value in $number_in. However, when the page hits the

Re: Can't get desired o/p with this code

2008-11-05 Thread Anirban Adhikary
Thanks a lot Chas for your your Help. Your code is running excellently.Now I have some doubts and questions to you. 1) if (eval use $module; 1) -- from this line I understand that u are taking the exit status of the use command and if it is true then the module is installed. But where you are