how to run a sql by passing variable

2007-05-10 Thread Praveen G Siddavarapu
All I have the below sql, it returns two rows, and I need to pass these two dates and run another sql, how do I do that.. basically I need to run the sql two times with two different time periods $csr_dates =<<"END_OF_SQL"; SELECT sysdate beg_date from dual union select sysdate -1 beg_date fro

RE: Confused by various Tk and GUI packages...? (Was: Plans for Perl6)

2007-05-10 Thread Jan Dubois
On Thu, 10 May 2007, Gisle Aas wrote: > > My advice to the OP is to try writing a demo, or proof of concept, > > programs using both Tk and Tkx, and make your decision based on > > that. If you decide on using Tkx, then publishing those demo > > programs would be of great use to those trying to mak

RE: Confused by various Tk and GUI packages...? (Was: Plans for Perl6)

2007-05-10 Thread Roode, Eric
Can Tkx (or Tcl in general) use custom-made Windows widgets developed in .NET and loaded via DLL? I will say this about the documentation for Tkx and Tcl::Tk: They both seem to assume the programmer knows Tcl and/or is migrating from Perl/Tk. They seem to have little self-contained documentation

Re: Confused by various Tk and GUI packages...? (Was: Plans for Perl 6)

2007-05-10 Thread Gisle Aas
On May 10, 2007, at 13:15, Kenneth Ölwing wrote: > Are there no/some/lots of quirks when perlapping something using > Tkx? I assume it's a nobrainer, since you're apparently doing it > with your tools, but just looking for confirmation... It's a nobrainer if you only depend on the Tcl extensio

Re: Confused by various Tk and GUI packages...? (Was: Plans for Perl6)

2007-05-10 Thread Gisle Aas
On May 10, 2007, at 12:59, Brian Raven wrote: > There is a lot of documentation, and plenty of examples, for Tk, > but they are Tcl based. This is, for me at least, a significant > obstacle to switching to use Tkx. Until that changes (and it is > several months since I looked*), or I get a be

Re: Confused by various Tk and GUI packages...? (Was: Plans for Perl6)

2007-05-10 Thread Kenneth Ölwing
>There is a lot of documentation, and plenty of examples, for Tk, but they >are Tcl based. This is, for me at least, a significant obstacle to >switching to use >Tkx. Until that changes (and it is several months since I >looked*), or I get a better understanding of Tcl, and I don't currently >h

Re: Confused by various Tk and GUI packages...? (Was: Plans for Perl 6)

2007-05-10 Thread Kenneth Ölwing
>I would regard Perl/Tk as legacy code in ActivePerl. It's there to >support old applications written against that API. For new applications >Tkx is recommended as that give you access to the newest development to >the Tk code base. As Jan said Tkx is what we use to write all the Perl >GU

RE: Confused by various Tk and GUI packages...? (Was: Plans for Perl6)

2007-05-10 Thread Brian Raven
Gisle Aas <> wrote: > On May 10, 2007, at 09:58, Kenneth Ölwing wrote: > >>> The ActiveState preferred choice of Perl GUI toolkit is Tkx (or >>> Tcl::Tk). Tkx is bundled with the latest ActivePerl releases for >>> all 32-bit platforms. It does provide native look-and-feel on >>> Windows (including

Re: Confused by various Tk and GUI packages...? (Was: Plans for Perl 6)

2007-05-10 Thread Gisle Aas
On May 10, 2007, at 09:58, Kenneth Ölwing wrote: >> The ActiveState preferred choice of Perl GUI toolkit is Tkx (or >> Tcl::Tk). >> Tkx is bundled with the latest ActivePerl releases for all 32-bit >> platforms. It does provide native look-and-feel on Windows (including >> themed widgets on Win

RE: cycles per sec

2007-05-10 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean Sent: 10 May 2007 07:07 To: Active Perl Subject: cycles per sec > Hi Bill-Bryan et al. > > I was asked by my superiors to provide the memory usage (cycles per sec) and other performance-related > parameters of a big-code

Re: Plans for Perl 6

2007-05-10 Thread Gisle Aas
On May 10, 2007, at 04:48, Preston de Guise wrote: > (Oh, and my request for what ActiveState should be working on? > While slightly off-topic, I'd love an option in PDK on Mac OS X to > _not_ produce Universal binaries, and allow the person running > perlapp to nominate universal/ppc/intel.

Confused by various Tk and GUI packages...? (Was: Plans for Perl 6)

2007-05-10 Thread Kenneth Ölwing
> The ActiveState preferred choice of Perl GUI toolkit is Tkx (or Tcl::Tk). > Tkx is bundled with the latest ActivePerl releases for all 32-bit > platforms. It does provide native look-and-feel on Windows (including > themed widgets on WinXP) and OS X (Aqua) and does X11 on the rest of the > Unix p