Running PubDrills - Re: dynamic variable declaration?

2002-05-04 Thread drieux
On Thursday, May 2, 2002, at 08:47 , David Gray wrote: > If not, here's a link to my favorite DBI/DBD > reference: > > > To appease the powers that be, does anyone know if you can bind columns > to a hash: > > i.e. $sth->bind_columns(undef,\$val

Installing ActivePerl

2002-05-04 Thread Dean Theophilou
Hello: I was wondering if Perl has to be installed on the root of a drive. If not, then are there any disadvantages associated with NOT putting it on the root of a drive? It's been a while since I've installed Perl, but I vaguely remember there being some kind of advantage to putting Pe

Re: Script Versioning

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 01:10 , Kevin Old wrote: [..] > I use ci/co and like the versioning stuff on itshould I just stick > with > that? I'd love to hear other's experiences and opinions. Also, any > examples of scripts you've done in different stages. [..] I'm frightfully depressed

Re: Script Versioning

2002-05-04 Thread Chris Ball
> "Kevin" == Kevin Old <[EMAIL PROTECTED]> writes: Kevin> How am I to version the scripts while I am developing it? The versioning scheme that many large projects such as Perl and the Linux kernel use is one of: major.minor.patch So, for example, one of the versions of Perl install

Re: A very beginner

2002-05-04 Thread Paul Johnson
On Sat, May 04, 2002 at 07:54:27AM -0700, drieux wrote: > On Saturday, May 4, 2002, at 02:26 , Greg Willings wrote: > > >Hi, > >I'm a beginner that doesn't even have perl yet. > >I woul like to know whether Perl is faster or Java for business > >applications. > > Paul has already provided the c

Script Versioning

2002-05-04 Thread Kevin Old
Hello all, I am starting a new part of my programming career where I am to manage a project from start to finish. I feel very comfortable about doing this, but have expectations that I would like to meet for the project as a whole and to help me grow as a programmer. One of these is versioning

why you really want to code in Java or a proprietary language vice perl

2002-05-04 Thread drieux
volks, Technically there is a list of reasons why you would want to, as professionals, code in a language that more fully provides for the delivery of byte-code-only binary-only releases to the customer. Since if you have read the gory details about perlcc you know that it is r

Re: DBI - selectall_arrayref Help!

2002-05-04 Thread bob ackerman
On Friday, May 3, 2002, at 12:39 PM, Jason Frisvold wrote: > Let's see if I can explain what I'm trying to do before I toss code > out... I have a database with several columns of data. I want to fetch > all the pertinent info into a single array of arrays and then work on > each row of the d

Re: return values from subs

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 10:06 , drieux wrote: [..] > > my @got_from_pw = get_pw; I want to apologize for that I clearly had not yet been informed about the deprecation of Looney::Tunes module. cf: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/subsAsSideEffect.pl I suck. ci

Re: last and labels was Re: IO::socket close() and"bad file descriptor"

2002-05-04 Thread Peter Scott
At 09:04 AM 5/4/02 -0700, drieux wrote: my question is why the use of the while() construct in > http://www.perldebugged.com/downloads/proxylog.txt > >hence the need to have the last LABEL construction??? > >especially as this appears to avoid the call to your >shutdown function - which s

Re: return values from subs

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 09:53 , Sven Bentlage wrote: > Hi! p1: it is best not to post from 'root' mail accounts. civility and decency and all - there are enough annonymouse accounts out there if you wish that. leave root@ for other things. [..] > sub get_pw { > ($dbh etc exist) > while (

Perl Databases ?

2002-05-04 Thread CMS
Are there any good perl databases out there ? and Any perl Directory ( or Business Directory ) scripts out there too. Thanks- Rick -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

last and labels was Re: IO::socket close() and "bad file descriptor"

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 08:19 , Peter Scott wrote: [..] > You got a true result. The connection closed properly. The value of $! > is irrelevant. my complements. my question is why the use of the while() construct in http://www.perldebugged.com/downloads/proxylog.txt hence the

Re: News Group?

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 02:45 , Greg Willings wrote: > Hi, > Is there a Perl News Group? yes, several - numbers: 58:] grep perl active comp.lang.perl.announce 001938 001931 m comp.lang.perl.misc 420176 419129 y comp.lang.perl.tk 028175 028074 y comp.lang.perl.modul

Re: IO::socket close() and "bad file descriptor"

2002-05-04 Thread drieux
On Friday, May 3, 2002, at 11:05 , Keddie, Diane wrote: [..] > > my $close=close($sock); > > The socket connection works, and we get the appropriate information back > from our mainframe scripts. However, the return value from close($sock) > is > 1 with "Bad file number" in $!. Should we be co

Re: IO::socket close() and "bad file descriptor"

2002-05-04 Thread Peter Scott
At 02:05 PM 5/3/02 -0400, Keddie, Diane wrote: >We are working on an application that makes a socket connection to our >mainframe to get information. The code we use for the socket connection is >as follows: >[snip] >my $close=close($sock); > >The socket connection works, and we get the appropria

Re: A very beginner

2002-05-04 Thread drieux
On Saturday, May 4, 2002, at 02:26 , Greg Willings wrote: > Hi, > I'm a beginner that doesn't even have perl yet. > I woul like to know whether Perl is faster or Java for business > applications. Paul has already provided the correct Party Line from the typical Perl Advocate. So I'll be stuck t

Re: A very beginner

2002-05-04 Thread Krikor Hovelian
Hi Paul, Actually I'm C programmer and would like to change towards something more portable or cross platform without the hustle of recompile or database adaptation, that's why i'm looking arround. Faster... Faster to run Developed by experts, when I say this I'm an optimiser programmer. I think w

Re: Modulus and Quotient

2002-05-04 Thread Paul Johnson
On Fri, May 03, 2002 at 04:36:36PM -0500, Frank Newland wrote: > Folks, > What, if any, is the perl operator which returns just the integer portion > of a quotient? perldoc -f int Be sure to read all of it. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail

Re: A very beginner

2002-05-04 Thread Paul Johnson
On Sat, May 04, 2002 at 11:26:07AM +0200, Greg Willings wrote: > Hi, > I'm a beginner that doesn't even have perl yet. > I woul like to know whether Perl is faster or Java for business > applications. Short answer: It depends. Longer answer: It depends on lots of things. Faster to develop?

News Group?

2002-05-04 Thread Greg Willings
Hi, Is there a Perl News Group? Thanks KH -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A very beginner

2002-05-04 Thread Greg Willings
Hi, I'm a beginner that doesn't even have perl yet. I woul like to know whether Perl is faster or Java for business applications. Thanks KH -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Modulus and Quotient

2002-05-04 Thread Frank Newland
Folks, What, if any, is the perl operator which returns just the integer portion of a quotient? Also known as modulo's sidekick. e.g. $remainder = 2002 % 100 ; ## $remainder = 2 $complete_quotient = 2002/100 ## $complete_quotient = 20.02 $whole_number= 2002 (what operator) /100 ## so tha

DBI - selectall_arrayref Help!

2002-05-04 Thread Jason Frisvold
Let's see if I can explain what I'm trying to do before I toss code out... I have a database with several columns of data. I want to fetch all the pertinent info into a single array of arrays and then work on each row of the data individually. (I don't want to use fetch() because there's no tel

IO::socket close() and "bad file descriptor"

2002-05-04 Thread Keddie, Diane
We are working on an application that makes a socket connection to our mainframe to get information. The code we use for the socket connection is as follows: my $sock = IO::Socket::INET->new( PeerAddr=> '$host', PeerPort=> '$port', Proto => '$protocol', Type => SOCK_STREAM) or $c