Re: Trying to add hyperlink

2006-06-22 Thread Scott Taylor
On Thu, June 22, 2006 09:25, chen li wrote: > > > --- Prabu <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> Hope this is your need... >> >> #!/usr/bin/perl -w >> use warnings ; >> >> use CGI qw/:standard/; >> print header, start_html("Stsd ILO Links"), h1("Stsd >> ILO Links") ; >> >> print table({-bo

Serial Ports

2006-06-22 Thread Scott Taylor
Hello all, I have a robot that sends data over a serial connection and I'd like to use Perl/Linux to listen to the Serial Port and record the data. Can anyone suggest the best package to do this? I need to be able to set Baud rates and such too. I'm looking at Device::SerialPort, but is that t

Re: HTML to Text

2006-05-02 Thread Scott Taylor
On Tue, May 2, 2006 12:55, Randal L. Schwartz wrote: >>>>>> "Scott" == "Scott Taylor" <[EMAIL PROTECTED]> writes: > > Scott> my simple input file will look like this: > > Scott> > Scott> > Scott> Bin Server >

RE: HTML to Text

2006-05-02 Thread Scott Taylor
On Tue, May 2, 2006 13:45, Russ Foster wrote: >> -Original Message- >> >> >> >> Bin Server >> >> >> Data that I need >> Data that I need >> >> >> >> I want the output to just be lines of "Data that I need" stored in a >> string, that I can work on each line one at a time, or in an

HTML to Text

2006-05-02 Thread Scott Taylor
Hello all, I have an HTML file that I need to extract the text data from. What modules do I need to be able to do this? I was looking at HTML::Parser but it doesn't make any sense and probably not what I'm looking for. my simple input file will look like this: Bin Server Data that I nee

SCO OSR5 and DBI

2006-01-18 Thread Scott Taylor
Hello, I'm trying to install DBI modules and I'm getting the following message from 'make': gcc -c-DPERL_SCO -DPERL_SCO507 -DHAS_FPSETMASK -D_REENTRANT -march=i 586 -mcpu=i586 -O6 -fomit-frame-pointer-DVERSION=\"1.50\" -DXS_VERSION=\"1. 50\" -fPIC "-I/usr/lib/perl5/5.8/i586-pc-sco3.2v5.

Re: compiling DateTime module on SCO OSR5

2006-01-10 Thread Scott Taylor
Tom Phoenix said: > On 1/10/06, Scott Taylor <[EMAIL PROTECTED]> wrote: > >> I'm trying to compile DateTime module for Perl in SCO OSR5.07 and >> failing >> miserably. > >> # Error: Can't locate loadable object for module DateTime in @INC >

Re: compiling DateTime module on SCO OSR5

2006-01-10 Thread Scott Taylor
Tom Phoenix said: > On 1/10/06, Scott Taylor <[EMAIL PROTECTED]> wrote: > >> I'm trying to compile DateTime module for Perl in SCO OSR5.07 and failing >> miserably. > >> # Error: Can't locate loadable object for module DateTime in @INC > >

Re: compiling DateTime module on SCO OSR5

2006-01-10 Thread Scott Taylor
BTW, I originally tried installing it through perl -MCPAN -e shell always running installs as root. Scott Taylor said: > > Hello all, > > I'm trying to compile DateTime module for Perl in SCO OSR5.07 and failing > miserably. > > I have no idea what these errors mean.

compiling DateTime module on SCO OSR5

2006-01-10 Thread Scott Taylor
Hello all, I'm trying to compile DateTime module for Perl in SCO OSR5.07 and failing miserably. I have no idea what these errors mean. Can anyone tell me what I need, or what I'm doing wrong? All tests in the "make test" are failing with messages like this one: PERL_DL_NONLAZY=1 /usr/

Dates

2005-11-04 Thread Scott Taylor
Hello, I have a date in UT that looks like this: "2005-11-02 01:36:00.0" Can anyone tell me the best way to subtract 8 hours from it, or to convert it to PDT? I'm reading up on Date::Manip, but I don't know if that is going to help, yet. Cheers. -- Scott -- To unsubscribe, e-mail: [EMAIL PR

Re: XML Help

2005-11-04 Thread Scott Taylor
Bob Showalter said: > Scott Taylor wrote: >> Hi All, >> >> I'm using XML::Simple to parse a very simple XML file and dump the data >> into hashes of hashes. >> >> The problem I'm getting, is sometimes information is blank in the XMl >> file;

Re: XML Help

2005-11-04 Thread Scott Taylor
Bob Showalter said: > Scott Taylor wrote: >> Dermot Paikkos said: >>>I would also say that the source file is wrong, it should read >>> >> >> >> I read somewhere that is correct syntax (same as ) > > You are correct. The two forms are exactly e

Re: XML Help

2005-11-03 Thread Scott Taylor
Dermot Paikkos said: > On 3 Nov 2005 at 7:45, Scott Taylor wrote: >> >> Hi All, >> >> I'm using XML::Simple to parse a very simple XML file and dump the data >> into hashes of hashes. >> >> The problem I'm getting, is sometimes info

XML Help

2005-11-03 Thread Scott Taylor
Hi All, I'm using XML::Simple to parse a very simple XML file and dump the data into hashes of hashes. The problem I'm getting, is sometimes information is blank in the XMl file; it looks like this: instead of 1234 and when I print the hash: print "$x->{VEHICLE}->{STREETNUM} "; it returns: "

Re: $ or % For Associative Arrays?

2005-09-02 Thread Scott Taylor
Mark Sargent said: > Hi All, > > am new to Perl. I'm followig this tutorial, > > http://www.cs.unc.edu/~jbs/resources/perl/perl-basics/variables.html > > and am confused as to why the below shows examples with $ and some with > % at the beginning of the statement. When it says, "Perl uses the > "p

Re: Parsing HTML

2005-09-01 Thread Scott Taylor
Jenda Krynicky said: > From: "Scott Taylor" <[EMAIL PROTECTED]> >> I'm probably reinventing the wheel here, but I tried to get along with >> HTML::Parser and just couldn't get it to do anything. To confusing, I >> think. >> >> I simply

Re: Parsing HTML

2005-09-01 Thread Scott Taylor
Jenda Krynicky said: > From: "Scott Taylor" <[EMAIL PROTECTED]> >> I'm probably reinventing the wheel here, but I tried to get along with >> HTML::Parser and just couldn't get it to do anything. To confusing, I >> think. >> >> I simply

Re: can any body tell me how to remove quotes from a name.

2005-08-31 Thread Scott Taylor
Eric Walker said: > if the 'mayank' is in a text file, then > cat file | sed s/\'//g > newfile > > this should do it I think. LMAO - Nice, for a top poster, > On Wednesday 31 August 2005 03:42 am, [EMAIL PROTECTED] wrote: >> Hi all >> Could any body tell me how to get >> mayank

Re: DBD::Oracle installation script assumes oracle is installed local ly?

2005-08-31 Thread Scott Taylor
[EMAIL PROTECTED] said: > Hi all. I am attempting to install DBD::Oracle from the perl CPAN shell. > The installation script seems to assume that oracle is installed locally. It > asks me to set ORACLE_HOME to the path the oracle is installed and to try > again. Well I don't have oracle installed

Re: Escaping with tr

2005-08-30 Thread Scott Taylor
Wiggins d'Anconia said: > Scott Taylor wrote: I did not. >>>Hi, >>> >>>How can I get all the " characters out of a csv file. >>> >>>Input looks like >>>"bla bla";"bla bla";"bla bla" >>>

Re: Escaping with tr

2005-08-30 Thread Scott Taylor
Bernard van de Koppel said: > Hi, > > How can I get all the " characters out of a csv file. > > Input looks like > "bla bla";"bla bla";"bla bla" > > and it has to look like > bla bla;bla bla; bla bla > > I tried $text=~ tr(#\"##); > but perl keeps complaining about "Might be a runaway multi-line

Parsing HTML

2005-08-29 Thread Scott Taylor
Hi, I suck at regex, but getting better. :) I'm probably reinventing the wheel here, but I tried to get along with HTML::Parser and just couldn't get it to do anything. To confusing, I think. I simply want to get a list or real words from an HTML string, minus all the HTML stuff. For example:

Re: Shell output

2005-08-23 Thread Scott Taylor
Jay Savage said: > On 8/23/05, Scott Taylor <[EMAIL PROTECTED]> wrote: >> >> Hello all, >> >> I have a CGI script that I need to display the output of a shell >> program, >> basically a simple C program that parses some text. >> >> The

Re: Shell output

2005-08-23 Thread Scott Taylor
Wiggins d'Anconia said: > Scott Taylor wrote: >> Hello all, >> >> I have a CGI script that I need to display the output of a shell >> program, >> basically a simple C program that parses some text. >> >> The output is right to the browser, and I d

Shell output

2005-08-23 Thread Scott Taylor
Hello all, I have a CGI script that I need to display the output of a shell program, basically a simple C program that parses some text. The output is right to the browser, and I don't want it to be creating any new files or anything. I have a data field that has a blob and that blob needs to b

Re: escaping & in CGI.pm

2005-06-24 Thread Scott Taylor
Joshua Colson said: > Scott, > > You're trying to use an ampersand in your URL. Ampersands are special > characters in URLs so you must escape it if you want it to be passed as > the actual character instead of carrying the special meaning. > > See http://www.december.com/html/spec/esccodes.html

escaping & in CGI.pm

2005-06-24 Thread Scott Taylor
Grr... Arg... Hello all, I'm working on my first Perl/CGI database app and run into a bit of a snag: http://myserver/lseid.cgi?LeaseOPID=A&DT89&theCmd=EditIt this line finds the right data however, everything after the & in the LeaseOPID ($row-{leaseopid}) "A&DT89" gets truncated in this form

Re: XML

2005-05-19 Thread Scott Taylor
Thank you for most helpful information. :) Offer Kaye said: > On 5/19/05, Scott Taylor wrote: >> >> ... to pump out lines of data to my SQL statement. >> >> I'll need to end up with something like: >> qw($vid,$eid,$event,$desc >> ,$date,$mid_desc

Re: XML

2005-05-18 Thread Scott Taylor
Wiggins d'Anconia said: > Scott Taylor wrote: >> Hello, >> >> I have an XML file that I need to import to a database, >> >> What module should I use for something simple like the following data? > > I would start with XML::Simple until you need mor

XML

2005-05-18 Thread Scott Taylor
Hello, I have an XML file that I need to import to a database, however, searching CPAN for XML brings up a lot of stuff. I don't know what I need to know. :( What module should I use for something simple like the following data? Can someone provide an example, or direct me to some good docs wi

sorting hash list for CGI Form

2004-03-09 Thread Scott Taylor
Hello all, When I populate this hash (%SrcIDs) from "SELECT id, desc, from myTable order by desc" it doesn't order by the description field "desc". (printing each row in the while loop show that the SQL is sorted) while( my($id, $desc) = $sth->fetchrow ) { $SrcIDs{$id} = $desc; } $sth-

Re: Image Magick

2004-01-09 Thread Scott Taylor
At 11:02 AM 01/09/2004, Scott Taylor wrote: At 10:28 AM 01/09/2004, Wiggins d Anconia wrote: http://www.ImageMagick.org/www/perl.html Check the above for an example of how to print an image to a filehandle, in your case you want the default STDOUT I've been all over that page, bu

Re: Image Magick

2004-01-09 Thread Scott Taylor
At 10:28 AM 01/09/2004, Wiggins d Anconia wrote: > Hello all, > > I am trying to use Image::Magick to resize a JPEG. This routine works to > display the full size image from a blob in my Firebird database: > > while ( my ($PixData ) > = $sth->fetchrow ) { > print h

Image Magick

2004-01-09 Thread Scott Taylor
Hello all, I am trying to use Image::Magick to resize a JPEG. This routine works to display the full size image from a blob in my Firebird database: while ( my ($PixData ) = $sth->fetchrow ) { print header('image/jpeg'); print $PixData; } But when I a

modify JPEG on the fly

2003-12-30 Thread Scott Taylor
Hello all, I'm using Apache 1.3.27, Perl 5.6.1 with DBI->DBD::Interbase on Linux 2.4 machine. I have a CGI script which display a JPEG from an Interbase Blob. Now, what I would like to do is modify the JPEG to make it into a useful thumbnail. here is the code that converts the blob (Thanks to

RE: Blob to JPEG

2003-08-27 Thread Scott Taylor
At 02:41 PM 08/27/2003, Dan Muey wrote: > > > use CGI qw(header); > > use DBI; > > my $dbh = ... > > print header('image/jpeg'); > > my($jpegguts) = $dbh->selectrow_array('SELECT jpegguts FROM > > myimg > > WHERE id = 35'); > > print $jpegguts; > >

Sensitive mail filtering devices

2003-08-27 Thread Scott Taylor
LMAO Someone out there has a overly sensitive Exhanged Server =p From: System Attendant <[EMAIL PROTECTED]> To: "'Scott Taylor'" <[EMAIL PROTECTED]> Subject: ScanMail Message: To Sender, sensitive content found and action t aken. Date: Wed, 27 Aug 2003 16

RE: returning proper info from subroutines

2003-08-27 Thread Scott Taylor
At 09:30 AM 08/27/2003, Johnson, Shaunn wrote: --Thanks for the reply: --I think I'm well on my way, but, I'm looking --at the results and the 'Programming the PERL DBI' --book and it says that selectrow_array returns the --value of the first field. --selectall_arrayref and selectcol_arrayref --do

RE: Blob to JPEG

2003-08-27 Thread Scott Taylor
At 11:52 AM 08/27/2003, Dan Muey wrote: > On Wednesday, August 27, 2003, at 12:50 PM, Scott Taylor wrote: > > > Hello all, > > Howdy. > > > I have a database with JPEGs stored in a blob field and I want to > > display them on an HTML web page with out creat

Blob to JPEG

2003-08-27 Thread Scott Taylor
Hello all, I have a database with JPEGs stored in a blob field and I want to display them on an HTML web page with out creating a new file.jpg for each connection. I'm currently hunting on Google, but I have no idea where to start. I use Apache 1.3.27, Perl 5.6.1 with DBI->DBD::Interbase on L

RE: Case conversions

2003-08-15 Thread Scott Taylor
At 02:46 PM 08/15/2003, Degey, Didier wrote: -Original Message- From: Scott Taylor [mailto:[EMAIL PROTECTED] Sent: vendredi 15 août 2003 23:20 To: [EMAIL PROTECTED] Subject: Case conversions Any one have or know of a function to convert ugly "NAME, USER" to "User Name&

Re: Case conversions

2003-08-15 Thread Scott Taylor
At 02:28 PM 08/15/2003, James Edward Gray II wrote: On Friday, August 15, 2003, at 04:20 PM, Scott Taylor wrote: Any one have or know of a function to convert ugly "NAME, USER" to "User Name"? Maybe something like: s/^(\w+), ?(\w+)$/ucfirst(lc $2) . ' ' . ucfi

Case conversions

2003-08-15 Thread Scott Taylor
Any one have or know of a function to convert ugly "NAME, USER" to "User Name"? TIA Scott. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Modification of a read-only value attempted

2003-08-15 Thread Scott Taylor
At 12:45 PM 08/15/2003, Bob Showalter wrote: Scott Taylor wrote: > Hello all, > > I'm trying to open a file (3 separate files anyway) and iterate > through them In this portion of my script: > > foreach ("dct","lfl","usa"){ >my ($co_id)

Modification of a read-only value attempted

2003-08-15 Thread Scott Taylor
Hello all, I'm trying to open a file (3 separate files anyway) and iterate through them In this portion of my script: foreach ("dct","lfl","usa"){ my ($co_id) = $_; print "$co_id\n"; system "rcp orion:/u1/syncdata/drvdat.$co_id /tmp/drv.temp" || next; open(InFile, "/tmp/drv.temp") || die "

Re: jumping to the end of a loop

2003-03-02 Thread Scott Taylor
At 04:01 PM 3/1/2003 +, Anadi Taylor wrote: Hi all, I have written a script that reads in information from a database: name, email, password and username. Also: the only reason I am having to pull all this data from the mySql database is because for some very strange reason mySql doent lik

Re: jumping to the end of a loop

2003-03-02 Thread Scott Taylor
At 09:42 PM 3/1/2003 +, Anadi Taylor wrote: Thank you - this helps a lot - its good to also know that the SQL problem I was having is a mySql thing - not me ! That may be true, I not too sure though. You never did disclose how you are using Perl to build the SQL command and send it to th

DBI install problems

2003-02-28 Thread Scott Taylor
Hello all, I had a power outage that I think somehow damaged my Perl install, I've been trying like crazy to repair it, I upgraded to the latest, 5.8.0 for I686 Linux, now I am trying to repair the DBI bundle and I can't seem to get past this: t/zz_80proxy_ppskipped all skipped

Can't load module DBD::Interbase

2003-02-18 Thread Scott Taylor
I don't even know where to start with this error. Can anyone point me in the right direction? I'm running Perl 5.6.0 on Linux RH7.2, 2.4.7-10 kernel FirebirdSS 1.0.2.908-0 as Interbase server. This machine has been running for 6 months, and Perl and Interbase have been happily working together

Re: SQL table updates

2002-10-31 Thread Scott Taylor
At 08:06 AM 10/31/02, you wrote: One way. ? Of the 3 fields which is unique field..I'll assume FuelCrd.. after ..print "$FuelCrd, $TrkID, $FuelCmp\n"; .insert this my ($check) = $dbh->selectrow_array ("SELECT fuelCrd FROM cardlock WHERE fuelCrd = ?", undef,$F

SQL table updates

2002-10-31 Thread Scott Taylor
Hello all, Can anyone tell me how to make this code work, so that, if the record already exists, just update the values instead of creating a new record? open(InFile, "fuelcrd") || die "Can not open file: $!\n"; while(){ chomp; my ($FuelCrd, $TrkID, $FuelCmp) = split(/,/,$_);

more regexp stuff, maybe?

2002-09-18 Thread Scott Taylor
Hey all, I have a small array with field names that I would like to store them in a string so that I can include it in an SQL string later. ie: @Fields = ("field1","field2","field3"); I want $SQLFields = "field1,field2,field3"; of course $SQLField = "@Fields"; returns the list "field1 field2

RE: dealing with Prime Numbers

2002-09-17 Thread Scott Taylor
At 05:55 AM 17/09/2002, Meidling, Keith, CTR, OSD-C3I wrote: >it didn't print anything out on my machine. :-( > >W2K, Activestate Perl 5.6.1 build 633 That's because Windoze is missing a world of goodies (including grep, d'oh!); nothing wrong with that algorithm on any other OS. -- To unsubsc

Re: Loading hash from DBI

2002-09-11 Thread Scott Taylor
Hello Frank, Thanks for the great answer. I'll be sure to try to understand those PerlRefs a little better. Cheers. At 11:31 AM 11/09/2002, Frank Wiles wrote: > .--[ Scott Taylor wrote (2002/09/11 at 11:07:21) ]-- > | > | Hello, > | > | I have an SQL tab

Loading hash from DBI

2002-09-11 Thread Scott Taylor
Hello, I have an SQL table with 2 fields, ID and Descr and I want to load these into an array and a hash. First the array @SecID should be just the first field and then the hash %Sections should be ID=>Descr All I get is garbage This is the code that doesn't work, I know I'm missing somethi

RE: populating hash from DBI

2002-07-18 Thread Scott Taylor
At 02:20 PM 18/07/2002, Bob Showalter wrote: >Each pass through the loop overwrites %numlegs, so it will only >contain one entry, corresponding to the last row. So I found. >You can do something like this: > >while (my $a = $sth->fetchrow_arrayref) { > $numlegs{$a->[0]} = $numlegs{$a-

populating hash from DBI

2002-07-18 Thread Scott Taylor
Hello, I'm having a heck of a time populating a hash from an SQL statement. Here is what I have so far (which doesn't work of course) my $SQL = qq[SELECT triid, numlegs from tri_id]; my $sth = $dbh->prepare($SQL); $sth->execute; no warnings 'uninitialized'; my %numlegs; while ( %numlegs = $s

Re: Use of uninitialized value in concatenation (.)

2002-04-11 Thread Scott Taylor
At 09:01 AM 11/04/2002, [EMAIL PROTECTED] wrote: >Scott, > >You've declared it... >my $drvname; >...but not initialised it(given it a value). So at the moment it has the >special value 'undef' (which is treated as 0 in a numeric context, or '' >in a scalar one). Try and do much with an undef and

Use of uninitialized value in concatenation (.)

2002-04-11 Thread Scott Taylor
o have the variables initialized before the loop: my $trd = ""; my $drvname; my @columns; -- Scott Taylor Systems Administrator DCT Chambers Trucking Ltd. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trapping errors from SQL

2002-01-30 Thread Scott Taylor
At 11:30 AM 01/30/02, Jason Purdy wrote: >You may also be interested in checking out the RaiseError attribute of any >DBI handle... > >$dsn = 'DBI:mysql:dbname'; # not sure what this looks like for InterBase >$dbh = DBI->connect( $dsn, 'username', 'password' ); >$dbh->{RaiseError} = 1; Thank

Trapping errors from SQL

2002-01-30 Thread Scott Taylor
r -Dynamic SQL Error -SQL error code = -504 -Cursor unknown I'm not too sure which script it comes from, it doesn't say, but I think it is from a CGI get form when a user doesn't enter a required field. Any idea what I should be looking for? TIA. Scott. -- Scott Taylor Systems

Re: What's this error?

2002-01-14 Thread Scott Taylor
At 01:39 AM 01/14/02, louie miranda wrote: >Hi, i was hoping for some assistance. Could some one tell me what does this >error >means? > >### >Global symbol "$root" requires explicit package name at >/usr/perl5/5.00503/i86pc-solaris/CS/Config.pm line 44. >Compilation failed in require at /usr/sbin

Re: Log Users

2002-01-11 Thread Scott Taylor
On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: Sorry for the OT, but I saw this email address and immediately went into headers looking for a spammer. lmao Nice address. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Date stuff

2002-01-09 Thread Scott Taylor
Can anyone tell me how I can set a variable to a date, then subtract x number of days from it and output the new date? I can't seem to find it anywhere. IE: my $thedate = "01/09/01"; my $newdate = $thedate - (1400 * 7); # (of course this doesn't work) Thanks. --

Re: Accounting Software

2001-10-19 Thread Scott Taylor
At 12:17 PM 10/19/01, Joe Echavarria wrote: >Hi there, > >I am looking for a complete Perl/mySQL or flat file >accounting software. The software must consider all >the aspect of accounting. > >Where can i find one ?, which one any of you >recommend me ? http://www.sql-ledger.org/ Kinda ni

Elusive Syntax

2001-10-18 Thread Scott Taylor
hrow ) { td([ '$columns[0]', '$columns[1]', '$columns[2]', '$columns[3]', '$columns[4]', '$columns[5]', '$columns[6]', '$columns[7]', '$columns[8]', '$columns[9]', '$columns[10

data type conversion - Overflow?

2001-08-30 Thread Scott Taylor
ATE >= $stdate and LOADDATE <= $enddate"; $cursor = $dbh->prepare($SQL); $cursor->execute; while ( @columns = $cursor->fetchrow ) { print ( ( map { "[$_]" } @columns ) , "\n"); } Or is there a better way? Thanks. -- Scott Taylor Systems Adm

Re: a1.a2.a3.a4 -> integer

2001-08-23 Thread Scott Taylor
At 02:08 PM 08/23/01, [EMAIL PROTECTED] wrote: >THIS IS NOW THE 5TH REQUEST. TAKE ME OFF THIS ALIAS. That's not very productive for this list. What pard of this link didn't you understand? List-Unsubscribe: Sen a blank email there. -- To unsubscribe, e-mail: [EMA

Debug help

2001-08-22 Thread Scott Taylor
Hi all, I snatched this guest book off some script site and it's either gone now, or I misplaced the bookmark, but anyhow, perhaps someone can help me with the syntax. Something I changed at 3AM one morning now it doesn't work right, I know the MySQL parameters are fine, it's something I accid

RTF Blob to HTML output

2001-08-21 Thread Scott Taylor
d, the RTF formatted blob is in the $therow[2]. If anyone can point me to the right docs I would appreciate that too. Thanks. -- Scott Taylor Systems Administrator DCT Chambers Trucking Ltd. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DBI DBD::Interbase install help

2001-07-23 Thread Scott Taylor
.t line 129. t/40alltypesdubious Test returned status 2 (wstat 512, 0x200) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.6.0/Test/Harness.pm line 334. make: *** [test_dynamic] Error 2 Any insight? Do I need to change something or install another mo

passing parameters to Perl script

2001-06-28 Thread Scott Taylor
Hello, How can I pass parameters from *nix command line to a Perl script? Like $1 in shell scripting. #!/usr/bin/perl -w $myfile = $1; doesn't work. Thanks. Scott

Re: populating an array with unique integers.

2001-06-19 Thread Scott Taylor
At 10:30 AM 06/19/01, Jeff 'japhy' Pinyan wrote: >On Jun 19, Scott Taylor said: > > >I want to create an array, and populate it with random numbers, they > >should be unique and sorted (I can sort at the output). I'm stuck at > >the unique part: > >

populating an array with unique integers.

2001-06-19 Thread Scott Taylor
I want to create an array, and populate it with random numbers, they should be unique and sorted (I can sort at the output). I'm stuck at the unique part: generate a random number; check if the number exists in the array, if it exists generate a new one, check again until a unique numb