Re: perl on HP-UX

2005-07-11 Thread Chris Devers
On Tue, 12 Jul 2005, Ken Killer wrote: > I Believe the perl on HP-UX was broken too. > Does the HP have official claim about this problem and good solution? I'm not an HP-UX user, so I don't know what their official HP party line is with regard to Perl or anything else. That said, I've been re

Re: perl on HP-UX

2005-07-11 Thread Ken Killer
I Believe the perl on HP-UX was broken too. Does the HP have official claim about this problem and good solution? On 7/12/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On Mon, 11 Jul 2005, Ken Killer wrote: > > > perl on HP-UX doesn't include the strict.pm into the core modules list? > > > > Can

Re: perl on HP-UX

2005-07-11 Thread Chris Devers
On Mon, 11 Jul 2005, Ken Killer wrote: > perl on HP-UX doesn't include the strict.pm into the core modules list? > > Can't locate strict.pm in @INC (@INC contains: > /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 > /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 > /opt/perl5/lib/site_perl/5.0

Re: error with -T taint checking

2005-07-11 Thread Chris Devers
On Mon, 11 Jul 2005, Ron Smith wrote: > Insecure dependency in open while running with -T switch at > C:/www/cgi-bin/upload_save.cgi line 42. What do you see on line 42? It seems to be in Store_Results(): > sub Store_Results{ > my $data; > my $mime = uploadInfo($file_name)->{'Content-Type'};

Re: initialize array of pointers to (0,0) arrays

2005-07-11 Thread John W. Krahn
Bryan R Harris wrote: Is it possible to easily initialize an array so that: $index[0] is a pointer to a new anonymous (?) array (0,0) $index[1] is a pointer to a new anonymous (?) array (0,0) ... $index[$#params] is a pointer to a new anonymous (?) array (0,0) I tried: @index =

initialize array of pointers to (0,0) arrays

2005-07-11 Thread Bryan R Harris
Is it possible to easily initialize an array so that: $index[0] is a pointer to a new anonymous (?) array (0,0) $index[1] is a pointer to a new anonymous (?) array (0,0) ... $index[$#params] is a pointer to a new anonymous (?) array (0,0) I tried: @index = ([0,0]) x @params; ..

Re: Hash example

2005-07-11 Thread Owen
On Mon, 11 Jul 2005 10:16:17 -0500 "Gomez, Juan" <[EMAIL PROTECTED]> wrote: > I been hearing about hash on perl > can someone tell me a little bit about that and if you could add a > example > it would be very nice from you thank you A hash is a set of relationships, for example ItemCo

Re: PID of a perl script

2005-07-11 Thread Jay Savage
On 7/11/05, Mads N. Vestergaard <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey Everybody, > > Just a simple question. > How do I get the PID of my running perl script. > I would like to have it in my perlscript so I can write it to a .pid file. > > Thanks gu

Re: PID of a perl script

2005-07-11 Thread Wiggins d'Anconia
Mads N. Vestergaard wrote: > Hey Everybody, > > Just a simple question. > How do I get the PID of my running perl script. > I would like to have it in my perlscript so I can write it to a .pid file. > > Thanks guys, > > Mads > $$ is a special variable that holds what you are after. perldoc pe

RE: PID of a perl script

2005-07-11 Thread Larsen, Errin M HMMA/Information Technology Department
Mads N. Vestergaard wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey Everybody, > Hi there! > Just a simple question. > How do I get the PID of my running perl script. Check out the doc 'perlvar'. # perldoc perlvar Then, do a search for 'PID'. It's in there. > Thanks guys,

PID of a perl script

2005-07-11 Thread Mads N. Vestergaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Everybody, Just a simple question. How do I get the PID of my running perl script. I would like to have it in my perlscript so I can write it to a .pid file. Thanks guys, Mads - -- Mads N. Vestergaard - http://rwxr-xr-x.dk Interested in Open S

error with -T taint checking

2005-07-11 Thread Ron Smith
Hi all, I'm back again with another question. And, thanks for your previous help. This time I'm working my wat through the book "Writing CGI applications with Perl". There's a tutorial that I've done that involves uploading a file and inserting the file name and description in MySQL. Some of y

Hash example

2005-07-11 Thread Gomez, Juan
  Hi   I been hearing about hash on perl can someone tell me a little bit about that and if you could add a example it would be very nice from you thank you      

query

2005-07-11 Thread madhurima das
Had earlier stated my problem : User gives an input to the perl program which next does some function in a fortran program & finally the output of the fortran program is passed on to the perl which finally conveys it to the user. Thanks to all responses due to which i got an approx solution to

RE: perl on HP-UX

2005-07-11 Thread Bob Showalter
Ken Killer wrote: > perl on HP-UX doesn't include the strict.pm into the core modules > list? > > Can't locate strict.pm in @INC (@INC contains: > /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 > /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 > /opt/perl5/lib/site_perl/5.005 . lib) at ./main

Re: array list

2005-07-11 Thread Robin
On Monday 11 July 2005 23:08, bclark1 wrote: > print @array[0..6], "Some text", @rray[7..10]; Off the top of my head: print "@array[0..6] Some text @rray[7..10]"; (untested, but should do the job) When inside double-quotes, Perl will expand the array for you. -- Robin <[EMAIL PROTECTED]>

array list

2005-07-11 Thread bclark1
Hi all Would anyone know how or if possible to do a print on an array, but I want to print the first x elements of an array, and then do another print for the next y values of the same array I would like to achieve this in one line. something like this print @array[0..6], "Some text", @rr

Re: perl on HP-UX

2005-07-11 Thread Muthukumar
It says strict.pm file is not available to include in perl coding. You search it in command line as, # find / -name "strict.pm" or in perl code with find module. -Muthu On 7/11/05, Ken Killer <[EMAIL PROTECTED]> wrote: > perl on HP-UX doesn't include the strict.pm into the core modules list?

perl on HP-UX

2005-07-11 Thread Ken Killer
perl on HP-UX doesn't include the strict.pm into the core modules list? Can't locate strict.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 . lib) at ./main.pl line 4. -- To unsubscribe, e