Re: Pg and Oracle 9i

2003-06-25 Thread Pavle Lukic
Shaunn Johnson wrote: > At the risk of sounding silly, does anyone know > of a way to export data from PostgreSQL to > Oracle via perl featuring DBI? > > Background: > I'm running PostgreSQL 7.2.1 on RedHat Linux 7.2 > and I have Oracle 9i on the same box. PostgreSQL > is dying and the tool to dum

Re: perl question

2003-06-22 Thread Pavle Lukic
On Sat, Jun 21, 2003 at 12:40 PM -0700, Ioana Cozmuta wrote: >>I do understand the problem, however I do not know how to put it in a perl >>script. For example, in C this could be solved using pointers. >>As I mentioned in my first e-mail, the data are tab delimited. If between >>the tabs there is

Re: perl question

2003-06-22 Thread Pavle Lukic
On Sat, Jun 21, 2003 at 12:40 PM -0700, Ioana Cozmuta wrote: >I do understand the problem, however I do not know how to put it in a perl >script. For example, in C this could be solved using pointers. >As I mentioned in my first e-mail, the data are tab delimited. If between >the tabs there is no

String manipulation benchmark

2003-01-08 Thread Pavle Lukic
Hi I did a little benchmarking in regard to the string manipulation issue raised on this forum. Here are relevant parameters and benchmark results. Problem Given a string and a pattern, construct new string by removing part of the string equal to pattern. Remove only first occurrence of the patt

Re: How to substract words

2003-01-07 Thread Pavle Lukic
Alex This is one way to resolve the issue: $x = substr($a,0,index($a,$b)).substr($a,index($a,$b)+length($b)); I would like to see a solution in terms of regex. Cheers Pavle - Original Message - From: "Alex Demmler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2

Perl XS vs perl

2003-01-02 Thread Pavle Lukic
Hi to all what is perl XS in relation to perl: extension, subset, or something else? Is it possible every perl code to 'convert' into perl XS, and how? I am asking for a generic working concept. Thanks Pavle _ Protect your PC -

Keyboard processing

2002-12-27 Thread Pavle Lukic
Hi all, Is it possible to process keyboard entries, character by character, without displaying content (e.g. for password fields), using only core ActivePerl 5.8.0 build 804 for Windows 2000 Professional SP 3. (no additional CPAN modules like Term/ReakKey, no 'use' statement). I ask for a simple l