RE: require "sys/socket.ph";

2005-06-01 Thread Gayatri
Hello John, Thanks for ur Reply. But Now I am getting the following error please help if u can. Thanks in advance ---if i remove require "sys/socket.ph"; line it gives error as Undefined subroutine &main::TCP_NODELAY called at /home/laxmig/Projects/NMD/Testing/SouceCode/mo

Re: Problem with replaceing

2005-06-01 Thread N. Ganesh Babu
Hai Jeff, The solution you have provided is working fine. Thanks a lot. Regards, Ganesh Jeff 'japhy' Pinyan wrote: On Jun 1, N. Ganesh Babu said: C.A. Eschenbach, F. Hall, C.R. Johnson, Z. Li, The graphs of unambiguous entries in the product of two MATH0810075.dat:1 sign patterns, Line

RE: background system call

2005-06-01 Thread Tielman Koekemoer \(TNE\)
> Hey, Hi > > Within a perl script of mine, I'd like to execute a shell > command but have it sleep for a few minutes prior to doing > so. There are probably better ways but I can't think/find any > at the moment to do so, what I tried so far is shown here: > > system("sleep

Re: background system call

2005-06-01 Thread John W. Krahn
andysayshi wrote: Hey, Hello, Within a perl script of mine, I'd like to execute a shell command but have it sleep for a few minutes prior to doing so. There are probably better ways but I can't think/find any at the moment to do so, what I tried so far is shown here: system("

Re: A question about Win32:OLE

2005-06-01 Thread J aperlh
Thanks for your help. I can find it in regedit. I have to find it out in OLE/COM Object Viewer or OLE-Browser to get the methods and properties of this OLE server. It's really not good that OLE/COM Object Viewer and OLE-Browser don't have a search function... On 6/2/05, Siegfried Heintze <[E

background system call

2005-06-01 Thread andysayshi
Hey, Within a perl script of mine, I'd like to execute a shell command but have it sleep for a few minutes prior to doing so. There are probably better ways but I can't think/find any at the moment to do so, what I tried so far is shown here: system("sleep 90 ; some_command_here")

Argument passing between perl and a C function.

2005-06-01 Thread J aperlh
Argument passing between perl and C function. There is C function in a OLE server: What kind of variable should I pass to this function? # BOOL Calculate(BSTR* names, double* values, short number_of_names); I tried the foll

Re: End of line character

2005-06-01 Thread John Doe
Am Dienstag, 31. Mai 2005 11.06 schrieb Dermot Paikkos: > Hi, > > perl5 (revision 5 version 8 subversion 5) on redhat fedora 3 > > I have been trying to create a list of home directories from a list. > The directory name comes straight from the list but I seem to be > getting a odd end of line char

Re: [Summary]: End of line character

2005-06-01 Thread Jeff 'japhy' Pinyan
On Jun 1, Dermot Paikkos said: s/\s*$//; # delete all whitespace at the end of the string Except that it's awfully silly-looking. I'd *at least* do s/\s+$//; which is monumentally faster, although not perfect. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Aca

RE: DBD::Oracle issue

2005-06-01 Thread TheRefUmp
Wrong forum for MySQL but you're getting the error because unless you created a view/table for "all_tables" then it doesn't exist. I suspect you're trying to use the view "USER_TABLES" or "DBA_TABLES" (if you have the GRANT to view that DBA view. [EMAIL PROTECTED] wrote: >ALL, > > > >Can so

Re: DBD::Oracle issue

2005-06-01 Thread mfatene
Hi, I'll try even if this is not a neither oracle nor perl-dbd list. 1. verify that NLS_LANG is correct in your client env (and all the other ORA vars) 2. verify the query is simply quoted (" needs \_ for _) 3. Put all oracle variables in BEGIN {ORACLe_HOME=""}; in the perl script 4. verify that s

[Summary]: End of line character

2005-06-01 Thread Dermot Paikkos
Thanx to Thomas for the quick response and answer. s/\s*$//; # delete all whitespace at the end of the string This was all that was necessary, although I like the qq tip as well. Dp. On 1 Jun 2005 at 11:27, Thomas Bätzler wrote: > Dermot Paikkos <[EMAIL PROTECTED]> coded: > [...] > > #!/bin/

RE: A question about Win32:OLE

2005-06-01 Thread Siegfried Heintze
Well I'm surprised that you cannot find with the OLE/COM viewer. Did you try regedit like I recommended? You can search with regedit more easily than you can OLE/COM viewer anyway. But I don't' understand your problem: if your application is working, why do you care if you can find it in OLE/COM v

RE: DBD::Oracle issue

2005-06-01 Thread christopher . l . hood
Well I sent this message to both the mysql mailing list and this perl list, because I am using perl to accomplish this, and mysql to talk to. But anyway, thank you very much your number 3 EXACTLY fixed my issues, so the person with the right answer contacted me. Again, thank you very much for yo

Re: Problem with replaceing

2005-06-01 Thread Jeff 'japhy' Pinyan
On Jun 1, N. Ganesh Babu said: C.A. Eschenbach, F. Hall, C.R. Johnson, Z. Li, The graphs of unambiguous entries in the product of two MATH0810075.dat:1 sign patterns, Linear Algebra Appl. 260 (1997) 95--112. while($line=~m!MATH(\d{7}\.dat):(\d{1,2})!g) { $math=&math($1, $2); $li

Re: PDF::API2 module example for edit pdf and save new pdf file

2005-06-01 Thread Wiggins d'Anconia
baskaran wrote: > Dear sirs, > > I want to learn more about open pdf file and edit and save some other new > pdf file. > I use PDF::API2 module, Kindly give me an example... > > Thanking you > > Regards > Baskaran NK > > > http://search.cpan.org/src/AREIBENS/PDF-API2-0.41/examples/ http://da

codepoint value 192 on utfebcdic(pls. ignore my previous mail with the same sub)

2005-06-01 Thread Rajarshi Das
Hi, I run this on z/OS and perl-5.8.6. $a = 160; $b = 240; for($i=$a;$i<=$b;$i++) { $str = join "",$str, pack 'U*',$i; } if ($str =~ /(\p{inlatin1supplement}+)/) { print "\$1 : $1\n"; } 1) If I pipe the o/p to od -tc -tx, $1 shows me two bytes for each code pt value (e.g. \x8a\x41 for value=

codepoint value 192 on utf-ebcdic.

2005-06-01 Thread Rajarshi Das
Hi, I run this on z/OS and perl-5.8.6. 3) If $a = 160 and $b = 192, $1 shows 2 bytes for each matching code pt value. $a = 160; $b = 240; for($i=$a;$i<=$b;$i++) { $str = join "",$str, pack 'U*',$i; } if ($str =~ /(\p{inlatin1supplement}+)/) { print "\$1 : $1\n"; } 1) If I pipe the o/p to od

RE: End of line character

2005-06-01 Thread Charles K. Clarkson
Thomas Bätzler wrote: : Dermot Paikkos <[EMAIL PROTECTED]> coded: : [...] : : #!/bin/perl : : : : my $root = "/home/"; : : my $file = "home.txt"; : : open(FH,$file) or die "Can't open $file: $!\n"; If you leave the "\n" off the end of the die(), you will see valuabl

RE: Problem with replaceing

2005-06-01 Thread Charles K. Clarkson
N. Ganesh Babu wrote: : Dear All, : : I am having a file with the below lines : [snip] : : Please help me in knowing the bug in the code and correct it. What bug do you perceive? In other words, what is the problem you are having? HTH, Charles K. Clarkson -- M

DBD::Oracle issue

2005-06-01 Thread christopher . l . hood
ALL, Can someone help out with this error: DBD::Oracle::st execute failed: ORA-03106: fatal two-task communication protocol error (DBD ERROR: error possibly near <*> indicator at char 23 in 'select table_name from <*>all_tables') [for Statement "select table_name from all_tables"] at ./orac

Problem with replaceing

2005-06-01 Thread N. Ganesh Babu
Dear All, I am having a file with the below lines R. Demarr, A. Steger, On elements with negative square, Proc. Amer. Math. Soc. 31 (1) (1972) 57--60. C.A. Eschenbach, F. Hall, C.R. Johnson, Z. Li, The graphs of unambiguous entries in the product of two MATH0810075.dat:1 sign patterns, Lin

Re: End of line character

2005-06-01 Thread John W. Krahn
Thomas Bätzler wrote: Dermot Paikkos <[EMAIL PROTECTED]> coded: [...] #!/bin/perl my $root = "/home/"; my $file = "home.txt"; open(FH,$file) or die "Can't open $file: $!\n"; while () { chomp; s/\s*$//; # delete all whitespace at the end of the string You should use \s+

PDF::API2 module example for edit pdf and save new pdf file

2005-06-01 Thread baskaran
Dear sirs, I want to learn more about open pdf file and edit and save some other new pdf file. I use PDF::API2 module, Kindly give me an example... Thanking you Regards Baskaran NK -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: End of line character

2005-06-01 Thread Thomas Bätzler
Dermot Paikkos <[EMAIL PROTECTED]> coded: [...] > #!/bin/perl > > my $root = "/home/"; > my $file = "home.txt"; > open(FH,$file) or die "Can't open $file: $!\n"; > > while () { > chomp; s/\s*$//; # delete all whitespace at the end of the string > my $n = "$root"."$f"

RE: Best WML editor for Perl?

2005-06-01 Thread Thomas Bätzler
Maxipoint Rep Office <[EMAIL PROTECTED]> wrote: > I am send only ONCE message! Pls check mailing list, I can > see that my message is received multiple times at the mailing list Once is already one time too many. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

End of line character

2005-06-01 Thread Dermot Paikkos
Hi, perl5 (revision 5 version 8 subversion 5) on redhat fedora 3 I have been trying to create a list of home directories from a list. The directory name comes straight from the list but I seem to be getting a odd end of line character from each item on the list and this gets added to the direc

FW: Best WML editor for Perl?

2005-06-01 Thread Maxipoint Rep Office
I am send only ONCE message! Pls check mailing list, I can see that my message is received multiple times at the mailing list -GP -Original Message- From: Maxipoint Rep Office [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 6:15 PM To: beginners@perl.org Subject: Best WML editor f