Re: Simple process controll question

2003-07-20 Thread Paul Archer
11:29am, Ramprasad A Padmanabhan wrote: > > > do "foo.pl args..." > > > > > > And in foo.pl set some scope defined variable like > > > > > > #foo.pl > > > $dbh=connect() > > > unless($dbh){ > > > $GLOBAL::ERRORSTR="Couldnot connect to database $@"; > > >exit 1 > > > } > > > > > > > > > A

Serialized Shared Memory on Redhat 7.3.

2003-07-20 Thread Sri
Hi, Has anybody used the IPC::Shareable on redhat 7.3. I am unable to configure mine. Is there any better modules out there that come with both the STORABLE and SHAREABLE features. Need some input on this or is there a better way i can implement using DBM or that sort. Thanks sri. -- T

Thank for helping: Variable "$q" will not stay shared at

2003-07-20 Thread B. Fongo
Hi guys! Thanks for your suggestions. I never read of variable declaration like our $variable in any of my books before. I also got good information through the Bob Showalter gave me: http://perl.apache.org/docs/general/perl_reference/perl_reference.html#m y Now my codes looks like. It works.

Re: chomp'ing EOL

2003-07-20 Thread John W. Krahn
Jamie Risk wrote: > > On the unix system in question, a lot of text files are sent via binary > method; particular culprits are samba users mounting unix drives from there > Windows/MAC machines. I understand that PERL sets $/ according to the sytem > it is running on; but that isn't always suffi

Re: Dereferencing an array reference

2003-07-20 Thread Wiggins d'Anconia
Rob Richardson wrote: Greetings! I am seriously confoogled about how to get my array back from a reference. This is the train scheduling program you've been hearing a lot about from me. The array holds the names of the crew members on the train. The train object is created with the following ro

RE: Thank for helping: Variable "$q" will not stay shared at

2003-07-20 Thread Charles K. Clarkson
B. Fongo <[EMAIL PROTECTED]> wrote: : : Now my codes looks like. It works. [snip] You might take a look at CGI::Application which handles a lot of the structure of a script for you. HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-

Re: CPAN problem - Corrected

2003-07-20 Thread Ken Gordon
I found the solution to my problem at: http://www.mail-archive.com/fink- [EMAIL PROTECTED]/msg02454.html Running Perl 5.8.0 on Mac OS 10.1.5, when I try to connect the CPAN, the first time I enter a command I get the following errors. Any suggestions? dyld:: Too many arguments. _Perl_safefree

Unix style to move and write two level up

2003-07-20 Thread Voodoo Raja
Hi all I am wandering if there is a way to specify my cgi script to=20 write a file in a directory which is two level up.. curently I am able to write to images folder which is located in My = /cgi-bin/images. instead I would like to move two level up and write to the Root where = the cgi-bin is

RE: Unix style to move and write two level up

2003-07-20 Thread Marcos . Rebelo
I don't know if you have permissions but this shell give a path to you use File::Spec; use FindBin; use lib (File::Spec->join($FindBin::Bin, "..", "..")); File::Specgives allot of path function FindBin gives information about the script directory $FindBin::Bin directory where your scrip