RE: Repetitive code

2001-08-10 Thread Ross, Jonathan C.
> I don't want to duplicate code. However, system2 has > two compilers and I need to read each compiler's > password file and store that data in a hash. Now, > will the compiler_data hash contain the data for both > compilers password files? How can I keep them > separate and don't duplicate c

RE: Incorporating script

2001-07-31 Thread Ross, Jonathan C.
> Hi, If someone can help me out please I wrote a perl script which > opens two text files and then compares them and spit out the > difference. It is an error checking program which runs on NT > Platform. The first file has all the required processes listed and > the second file lists current run

RE: file copy and create directory if necessary

2001-07-25 Thread Ross, Jonathan C.
> I am using File::Find and File::Copy to accomplish the following: > check a directory tree for all files that end in *.html and copy them to a > different directory, preserving the tree structure. > The following code works fine provided that all subdirectories already > exist. But is there a

RE: Custom add user script...

2001-07-24 Thread Ross, Jonathan C.
> I am having trouble with a portion of my custom add user script. I > want to display the contents of /etc/groups (gid 500-531) > numbered. I then want to input the number(s) of the groups I want to > add the user to (input should be in csv). The catch is I don't want > just any number to work -

RE: install modules when user is not root

2001-07-19 Thread Ross, Jonathan C.
An issue arises with building large and complex modules that normally install to multiple places in the Perl library tree. If you can't run "make install" you have to figure out the destinations by hand. One solution is to establish your own library tree. If you say make PREFIX=$HOME/m

RE: page generation

2001-07-17 Thread Ross, Jonathan C.
> Thanks for your suggestions Jonathan, that seems to stop the script > from looping now there is another problem with it!!! it falls over > saying "can't open newpage at 74 - No such file or directory at > /web/cgi/AZcreate.pl line 74" but the idea is that this file will be > created when printi

RE: page generation

2001-07-17 Thread Ross, Jonathan C.
> Hi Still trying to get to grips with a simple script, with no luck the > folders are created OK but only the first 2 items of @pages get made > the web page returns with a blank page to make matters worse doing a > 'top' reveals that the process is still running and eating up CPU > time! > if (

RE: DBI and Oracle 8I

2001-07-06 Thread Ross, Jonathan C.
I'm running it successfully against Oracle 8.1.6, if that helps. Try starting with DBI-1.18 and DBD-Oracle-1.07 from CPAN. Follow instructions for building and installing those packages and pay *very* close attention to README.java in the DBD distribution. If you have any problems try rebuildin

RE: Reference found where even-sized list expected

2001-07-03 Thread Ross, Jonathan C.
> I get this warning: > Reference found where even-sized list expected at ./n.pl line 94. > > when running my script, and i don't understand what does it mean. > Please explain. Here are the relevant lines: > > 94: my %args = { > 95: descriptor => "/usr/lib/nitro/all.xml", > 96: