Perl OOP

2003-01-24 Thread Neil
Hi,   I have put together a couple of modules and I  am _getting_ comfortable with Perl OOP. However, something today has put me a bit sideways.   I will show code snippets to begin with and if its not clear - I'll post the actual code.   I have one OO package that creates 'debug' object, th

Re: use lib $ENV{'PTI_CGI_HOME'};

2003-01-24 Thread $Bill Luebkert
theatrale wrote: in all my perl programs, there is a line to include my own libray : use lib $ENV{'PTI_CGI_HOME'}; I wonder how to declare "PTI_CGI_HOME" and where (in apache ?). and what value is needed ? local --> C:\thearter\cgi-bin\PTI\ OR url --> http://localhost/cgi-bin/PTI/ You can put

Re: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 12:31:18 -0500, Jonathan Epstein <[EMAIL PROTECTED]> wrote: >I believe that to make gcc work you will need to compile Perl from scratch as well as >all the other modules that you will use (even the ones for which PPDs are available). > >While the full-blown Visual Studio costs

Re: FW: PerlApp and Image::Magick

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 15:28:11 -0500, "Joseph Youngquist" <[EMAIL PROTECTED]> wrote: >Posted this earlier, perhaps it was missed. Still awaiting a response. I guess just nobody replied yet. :) >seems www.imagemagick.org is not up and running past few days...did it move? No, it is up and running

RE: Need to call java class and pass in args to its main

2003-01-24 Thread Cliff
In essence, your jar file execution is the exact same thing, if I understand the original problem correctly (need to execute main() in a class loaded into a java vm on the command line). Simply take your syntax, remove the java flag -jar, and chunk in a fully qualified path name e.g.: `java cap

FW: PerlApp and Image::Magick

2003-01-24 Thread Joseph Youngquist
Posted this earlier, perhaps it was missed. Still awaiting a response. seems www.imagemagick.org is not up and running past few days...did it move? TIA > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 9:17 AM > To: [

RE: Need to call java class and pass in args to its main

2003-01-24 Thread Capacio, Paula J
>-Original Message- >Scott Purcell wrote: > [SNIP] >So how can I call a java class file and pass it the args from perl? >Under the perl 3rd edition book, I am reading about syscall, >but it does not look like the right thing, I'm not a Java pgmr, but I was asked to write a perl script that

RE: Need to call java class and pass in args to its main

2003-01-24 Thread Tillman, James
Actually, I've all I've seen along these lines is something called the JavaPerl bridge that appears to be an abandoned attempt to bridge java and perl many years ago. I'd stick to command line execution unless you're willing to get into the Bean Scripting Framework (which looks quite cool, but I k

Re: Need to call java class and pass in args to its main

2003-01-24 Thread Cliff
I believe there is a package of some sort which specifically allows for java-perl direct code integration, someone certainly has thought of that by now. However, I certainly understand why, given what you describe, one cannot simply: exec "/usr/java/bin/java" "qualified.class.name" "$arg1" ...

Need to call java class and pass in args to its main

2003-01-24 Thread Scott Purcell
Hello, I have a perl script that gathers data that is needed to call a java class. I would like to call exec(thejava file) and pass it the args from the perl file. The perl script creates an anonymous array. So how can I call a java class file and pass it the args from perl? Under the perl 3rd

Issue with perl_clone() in C++ server

2003-01-24 Thread Todd Richmond
I have a C++ server that uses perl_clone() to create a pool of perl interpreters that are used to execute code subs in a perl script requested by socket clients. The parent interpreter parses the code, executes the init() function and then the clones take over processing. My problem is that if a cl

RE: use lib $ENV{'PTI_CGI_HOME'};

2003-01-24 Thread Tillman, James
> This question suggests a REALLY COOL enhancement: > > use url qw{http://somehost/perl_library/}; > use Foo::Bar; # Gets fetched from the URL if it isn't > found in @INC. > > Obviously, LWP gets loaded somewhere along the line. The > funny thing is, > it's not at all obvious to me that som

RE: Quick way to search for path/filename combos of a particular length?

2003-01-24 Thread Gerber, Christopher J
Title: Quick way to search for path/filename combos of a particular length? -Original Message- All, Forgive me if the clue-train hasn't made a stop in my neighborhood in a while, but I have what I hope is a simple question. Is there an easy way to search a directory tree

Re: Quick way to search for path/filename combos of a particular length?

2003-01-24 Thread Thomas R Wyant_III
"Jeff DuVall" <[EMAIL PROTECTED]> > Is there an easy way to search a directory tree for path/filename combinations of > a particular length? I'm troubleshooting a issue with some software, and want to > rule out that the possibility of having path/filename combinations of >260 > characters. _TH

Re: [PMX:#] Perl MVC pattern proyect

2003-01-24 Thread Alan Dickey
"Fernando Freire Baez (Medicare)" wrote: > > Hello, > > I am coding some sites in my job and I will guide my proyect in an MVC > (Model, View, Controller) envairoment. I will like to know if someone know > if exist already a tutorial for MVC in perl. I know the implementation of > MVC in other la

Re: use lib $ENV{'PTI_CGI_HOME'};

2003-01-24 Thread Thomas R Wyant_III
"theatrale" <[EMAIL PROTECTED]> > in all my perl programs, there is a line to include my own libray : > use lib $ENV{'PTI_CGI_HOME'}; > I wonder how to declare "PTI_CGI_HOME" and where (in apache ?). This is not an Apache mailing list. Further, you did not provide the version of Apache you are

Quick way to search for path/filename combos of a particular length?

2003-01-24 Thread Jeff DuVall
Title: Quick way to search for path/filename combos of a particular length? All, Forgive me if the clue-train hasn't made a stop in my neighborhood in a while, but I have what I hope is a simple question. Is there an easy way to search a directory tree for path/filename combinations of a

RE: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Gerber, Christopher J
Mark, Jan recently mentioned that the .NET Framework SDK, which is freely available, includes a command line version of VC++ 7.0. You should be able to download it here: http://msdn.microsoft.com/netframework/downloads/howtoget.asp. The advantage to this is that you should be able to maintain bi

Re: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Jonathan Epstein
I believe that to make gcc work you will need to compile Perl from scratch as well as all the other modules that you will use (even the ones for which PPDs are available). While the full-blown Visual Studio costs several hundred dollars, one can obtain Visual C++ only for around $100. See: ht

Re: How To Create a MS Word Document

2003-01-24 Thread Jenda Krynicky
From: michael higgins <[EMAIL PROTECTED]> > >>I want to create an MS Word document from a perl program. Would I > use >>Win32::OLE or another module? Can you point me to any > documentation / > sample > >>code / etc.? > >> > >>Wes Not sure this is useable at this time, but there is also ht

RE: Temp tables perl DBI

2003-01-24 Thread Tillman, James
Title: Temp tables perl DBI In SQL Server, temporary tables are retained on a per-connection basis unless they are global (and in your case, this won't be necessary, probably).  Since all your tables are on the same database, and thus you can run them all on the same connection, you should b

Temp tables perl DBI

2003-01-24 Thread Ricci, Mark
Title: Temp tables perl DBI Hello,     I have been assigned the task of pulling information from 10 different db's on the same server (MS SQL2000).  I have enough experience with DBI to make the connection to one DB and storing it into an array but have never had to make multiple connect

RE: How To Create a MS Word Document

2003-01-24 Thread Tillman, James
> > I believe the preferred method is to write to .rtf files, which has a > reasonably comprehendible format. Word will open them with no squawks > and preserve the formatting. > > I use RTF::Writer. Might that work for you as well? > > Goood luck. I hope this points you in the right direction