Perl Query - Conversion of EXE file

2006-11-27 Thread Dharshana Eswaran
Hi All, I just have a query in Perl. I am in search of a way to convert Perl Program to EXE file. So that it can be run anywhere even without installing Perl. I searched the net and had mailed the beginners mailing list which suggested me a few tools like Perl2exe or Perl_Dev_Kit to do the sam

Re: goto return ?

2006-11-27 Thread Rob Dixon
JupiterHost.Net wrote: What about doing this? return if do_one_then_two($whatever); ... sub do_one_then_two { my $what = $_[0]; if ($what) { one(); two(); return 1; } return 0; } Thanks, I'm not looking for how to handle a condition necessarily. I wan

Perl DBI Oracle: Multiple statements

2006-11-27 Thread Ravi Malghan
Hi: Not sure if this is the right place to post this question. My dba has asked to execute a alter statement before the select statement in a perl script. So I need to run the following. Supposedly the alter statement, helps run the select sql run faster. alter session set db_file_multiblock_re

Re: goto return ?

2006-11-27 Thread D. Bolliger
JupiterHost.Net am Montag, 27. November 2006 21:37: > > What about doing this? > > > > return if do_one_then_two($whatever); > > ... > > sub do_one_then_two { > > my $what = $_[0]; > > if ($what) { > > one(); > > two(); > > return 1; > > } > > return 0; > > }

Re: goto return ?

2006-11-27 Thread JupiterHost.Net
Just need to figure you how to get the functionality that: goto &CORE::return; feels like it should do assuming I knew how to reference return... nah Thanks for your examples, however if a change was needed you'd still have to change every instance instead of the single function. So I'd

Re: goto return ?

2006-11-27 Thread JupiterHost.Net
What about doing this? return if do_one_then_two($whatever); ... sub do_one_then_two { my $what = $_[0]; if ($what) { one(); two(); return 1; } return 0; } Thanks, I'm not looking for how to handle a condition necessarily. I want to be able to: log_e