taint this!

2003-10-27 Thread John E Guillory
I just taint gettin' this taint thing. Please banish the darkness. I've got a cgi program that makes a call to a homegrown package. The homegrown package (I made successfully!) among several things tried to run this: $host = `hostname`; and of course it failed with this message in apach

Re: taint this!

2003-10-27 Thread John E Guillory
(bcc: John E Guillory/johng/LSU) Subject:Re: taint this! John, Without attempting to answer your question (because I'm not sure I fully comprehend the situation), you may also want to read the `perldoc perlsec` security documentation. It has a paragraph specifically about insecure

diff and sed

2005-04-01 Thread John E Guillory
This isn't a perl question explicitly (but I am a librarian!). I want to diff two files to generate a third file that contains edits. This third file of edits I can then apply to the first file to convert it into the seconf file by running it through either sed or ed. I see references to this

sending marc records into a script that uses MARC::Batch

2014-05-29 Thread John E Guillory
Hello, Two questions please: 1. I've written a script that opens a marc file for reading using this syntax: $file = $ARGV[0]; $batch = MARC::Batch->new('USMARC',$file); It then loops thru the records using this syntax: while ( $record = $batch->next()) { .check position 6, 7

RE: sending marc records into a script that uses MARC::Batch

2014-05-29 Thread John E Guillory
stuff but it’s not “required”. I’m deliberately printing warnings but again the script exited prematurely. Thanks for assistance. John From: Timothy Prettyman [mailto:timo...@umich.edu] Sent: Thursday, May 29, 2014 11:23 AM To: John E Guillory Cc: perl4lib@perl.org Subject: Re: sending marc

RE: sending marc records into a script that uses MARC::Batch

2014-06-03 Thread John E Guillory
>> wrote: If I'm not wrong, $batch->strict_off(); will avoid your loop to print warnings and stop processing records. HTH. Stefano On 29/mag/2014, at 23.13, John E Guillory wrote: Thanks Timothy for your help. When processing about 5 million records I would expect some crazy re