returning sub into hash

2004-02-12 Thread Jeremy A
hi all, how do i instantly return a subs return value as value to a key in an array of anon hashes? push(@ret,{ result => &$action, idx => $count}); <- action() is the subroutine. It can return either a 1,0 single hash eg( { content => $content, content_length => $content_length, etc }

RE: Perl GUI ??

2004-02-12 Thread h-taguchi
Hello, Don't forget Prima. Just updated, Prima-1.14 -- a perl graphic toolkit Hirosi Taguti [EMAIL PROTECTED] > -Original Message- > From: Chris Snyder [mailto:[EMAIL PROTECTED] > Sent: Friday, February 13, 2004 12:31 AM > To: 'Savinder Puri'

RE: passing subs and scope

2004-02-12 Thread Chris Snyder
There are a few ways. First you can use our instead of my. This will create a global variable as opposed to private. Sounds like you do not want that; You can staple it to a package. In this case, you can call the variable $main::test. Then it is available to the entire package. You can use lo

RE: java to perl

2004-02-12 Thread Bharucha, Nikhil
It is easier going from JAVA to PERL than PERL to JAVA. Mostly because PERL is more flexible and most often there are numerous alternatives to code a situation. JAVA is more rigid. I can't help you with specific guidance other than to say that if you know JAVA you can learn PERL quickly. -

Re: passing subs and scope

2004-02-12 Thread $Bill Luebkert
Jeremy A wrote: > hi all, > > I have learned how to pass a sub as a parameter into another subroutine, > then execute it. > > My problem is, how do execute the referenced sub, and inheret the > variables of the calling sub? > > Thanks in advance for any help. > > Regards, > > Jeremy A. >

RE: Perl GUI ??

2004-02-12 Thread Toby Stuart
> -Original Message- > From: Savinder Puri [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 12, 2004 7:12 PM > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Perl GUI ?? > > > Hi All, > I'm writing a series of Perl script (+ shell scripting etc) for creating Builds. The scripts

passing subs and scope

2004-02-12 Thread Jeremy A
hi all, I have learned how to pass a sub as a parameter into another subroutine, then execute it. My problem is, how do execute the referenced sub, and inheret the variables of the calling sub? Thanks in advance for any help. Regards, Jeremy A. --Code--- sub writeline { my (

RE: java to perl

2004-02-12 Thread Toby Stuart
> -Original Message- > From: H. krishna [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 12, 2004 4:35 PM > To: [EMAIL PROTECTED] > Subject: java to perl > > > Dear All, > > I have java program. I need to convert java to perl > code. Any guidance is appreciated. > > Thanks in adva

RE: Excell conversion to csv or text

2004-02-12 Thread Thomas, Mark - BLS CTR
> The code shown below does not creat the .txt file and also > it does not convert all the workshees to csv(it only creates > one work sheet always irrespective of the worksheet number > I chage like 1, 2, 3, ). > > Can any one help me? This should work (untested): use Spreadsheet::ParseEx

Excell conversion to csv or text

2004-02-12 Thread Kumar, Krishna Krishna
Hello, I have an excell file with multiple worksheets in it. The code shown below does not creat the .txt file and also it does not convert all the workshees to csv(it only creates one work sheet always irrespective of the worksheet number I chage like 1, 2, 3, ). Can any one help me? us

Re: Perl GUI ??

2004-02-12 Thread Johan Lindstrom
At 19:02 2004-02-12, [EMAIL PROTECTED] wrote: There is one additional question for a windoze environment. Which of these GUI's can be compiled into exe's? Does the ActiveState tool kit and Perl2exe work equally well for Win32::GUI, tk, and wxPerl? I've used Win32::GUI with both PerlApp and PAR. I

Re: Perl GUI ??

2004-02-12 Thread Jeff Griffiths
[EMAIL PROTECTED] wrote: There is one additional question for a windoze environment. Which of these GUI's can be compiled into exe's? Does the ActiveState tool kit and Perl2exe work equally well for Win32::GUI, tk, and wxPerl? all of the toolkits should work fine with PerlApp. there is a noted q

Re: Perl GUI ??

2004-02-12 Thread Huub Peters
I'm a wxPerl user and I've made standalone applications with wxPerl and ActiveState's PerlApp succesfully. (small as well as very big apps). I've heard good things about using perl2exe and offcourse the free PAR too so compiling wxPerl is very well possible. I've done a standalone Win32::Gui too

Re: Perl GUI ??

2004-02-12 Thread Huub Peters
There are a few things you should consider. Do you really want to use SVG? Alltough it looks very promising, I still don't see it around a lot and it has been quite a while since they thought it up and released it. I'm having doubts about it becoming the standard 'they' want it to be. So before you

Re: theperlreview

2004-02-12 Thread Rob Dixon
John Ramsden wrote: > > Rob Dixon wrote: > > > > Hirosi Taguti wrote: > > > > > > I returned from my short war to fight with developping a system > > > using perl, MQ, SQL, XML :) > > > > > > theperlreview is my favorite site, hoping to be up. > > > Thanks agai