Re: returning hashes, and arrays

2004-03-21 Thread R. Joseph Newton
Stuart White wrote: > I'm having trouble returning a hash from a subroutine, > and an array from a different subroutine. "Beginning > Perl" said I could return a list, I can't get it to > work. Must the hash and array really be a reference > to the hash and array in order to return them? In bri

Re: FW: Installing module.

2004-03-21 Thread R. Joseph Newton
"Nilay Puri, Noida" wrote: > I am installing on sun os. > perl versions is 5.8 > > While installing GD 1.19 module. > I got error on running "make test" : > > make[1]: Leaving directory `/nilay/tars/GD-1.19/libgd' > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harne

Re: extracting data from table embedded in Word document

2004-03-21 Thread Andrew Gaffney
R. Joseph Newton wrote: Andrew Gaffney wrote: The above code won't work because it splits on a comma. A lot of the fields contain a comma somewhere within the actual data. If it was easy as that, I would have had this done long ago ;) -- Andrew Gaffney Hi Andrew, Don't count on it not being

Re: extracting data from table embedded in Word document

2004-03-21 Thread R. Joseph Newton
Andrew Gaffney wrote: > > The above code won't work because it splits on a comma. A lot of the fields contain a > comma somewhere within the actual data. If it was easy as that, I would have had > this done > long ago ;) > > -- > Andrew Gaffney Hi Andrew, Don't count on it not being that easy.

Re: make problems trying to run perl -MCPAN -e 'install "Bundle::Bugzilla"' on SuSE 9

2004-03-21 Thread WC -Sx- Jones
Sean Moss-Pultz wrote: Thanks for guidance. I ran into this error message while installing the TimeDate module: --- CPAN.pm: Going to build G/GB/GBARR/TimeDate-1.16.tar.gz Checking if your kit is complete... Looks good Writing Makefile for TimeDate

Re: make problems trying to run perl -MCPAN -e 'install "Bundle::Bugzilla"' on SuSE 9

2004-03-21 Thread Sean Moss-Pultz
On Mar 22, 2004, at 10:47 AM, WC -Sx- Jones wrote: A "Bundle" is something you install AFTER you have a working copy. I know, it sounds contradictory - it isnt. Well it wouldn't be the first time I've been baffled by things that are "not" contradictory with computers :) I would STRONGLY recomme

Re: Help with Search and Replace

2004-03-21 Thread John W. Krahn
Chance Ervin wrote: > > I have the following config file: > > FILENAME=somefile01 > LINES_READ=0 > FILTER=0 > FILTER_CONTENT=NA > [EMAIL PROTECTED] > > FILENAME=somefile02 > LINES_READ=0 > FILTER=0 > FILTER_CONTENT=NA > [EMAIL PROTECTED] > > I need to be able to change the value of the first LI

Re: make problems trying to run perl -MCPAN -e 'install "Bundle::Bugzilla"' on SuSE 9

2004-03-21 Thread WC -Sx- Jones
Sean Moss-Pultz wrote: Bundle summary: The following items in bundle Bundle::Bugzilla had installation problems: A "Bundle" is something you install AFTER you have a working copy. I know, it sounds contradictory - it isnt. All of these dependancies must be satisfied "individually" BEFORE you

make problems trying to run perl -MCPAN -e 'install "Bundle::Bugzilla"' on SuSE 9

2004-03-21 Thread Sean Moss-Pultz
Hi everyone. This is my first post to this list. I tried my best to answer this question myself, (searched past questions, googled, etc...) but had no luck. Hopefully somebody here can help. I'm trying to install Bugzilla 2.16.5 on a SuSE 9 system. I have version 5.8.1 of perl. From what I gath

Help with Search and Replace

2004-03-21 Thread Chance Ervin
I have the following config file: FILENAME=somefile01 LINES_READ=0 FILTER=0 FILTER_CONTENT=NA [EMAIL PROTECTED] FILENAME=somefile02 LINES_READ=0 FILTER=0 FILTER_CONTENT=NA [EMAIL PROTECTED] I need to be able to change the value of the first LINES_READ without changing the value of the second and

Help with Random walk algorithm

2004-03-21 Thread Kalyan C Dudala
Hi, I am working on some gene expression data and am trying to come up with a random walk algorithm to cluster my data. Here's what I need. I have a probability matrix of several genes against each other. Assuming each one of the genes (columns and rows) on the probability matrix is a node, I a

Re: displaying ASCII value of character

2004-03-21 Thread John W. Krahn
Wc -Sx- Jones wrote: > > Dos files lines end with control-M control-J, while unix files end with > control-J. If you look at a dos ascii file in unix you will see the > control-M. Control-M is the carriage return and control-J is the line > feed. In order to display a dos ascii file in unix cor

Re: extracting data from table embedded in Word document

2004-03-21 Thread Andrew Gaffney
Charles K. Clarkson wrote: Andrew Gaffney <[EMAIL PROTECTED]> wrtoe: : : I managed to get Word to export it into a format where : the fields are separated by '\r'. Yeah, kinda weird. I : wrote the following: : : open FILE, $file; : my $counter = 0; : : while () { :while (/\r?([^\r]*)/sgc) {

Re: displaying ASCII value of character

2004-03-21 Thread Andrew Gaffney
Andrew Gaffney wrote: Andrew Gaffney wrote: I have a non-printable character that I'm trying to match in a regex, but I can't figure out what it is. If I know it comes after '~~~' in a string, how can I show its value? I tried: s/~~~(.?)/sprintf "|%d|", $1/se; but that just displays '|0|' whic

Re: Assistance with Parsing Code

2004-03-21 Thread Paul Johnson
On Sun, Mar 21, 2004 at 03:45:05AM -0600, Kalyan C Dudala wrote: > I am rather new to PERL and have been doing most of my work on S-plus. > If any of you are familiar with this type of analysis or if you thik > you might be able to help me, given more detail please let me know. Four suggestions:

Re: displaying ASCII value of character

2004-03-21 Thread WC -Sx- Jones
Dos files lines end with control-M control-J, while unix files end with control-J. If you look at a dos ascii file in unix you will see the control-M. Control-M is the carriage return and control-J is the line feed. In order to display a dos ascii file in unix correctly you must remove the contr

RE: extracting data from table embedded in Word document

2004-03-21 Thread Charles K. Clarkson
Andrew Gaffney <[EMAIL PROTECTED]> wrtoe: : : I managed to get Word to export it into a format where : the fields are separated by '\r'. Yeah, kinda weird. I : wrote the following: : : open FILE, $file; : my $counter = 0; : : while () { :while (/\r?([^\r]*)/sgc) { : $counter++; : i

RE: Assistance with Parsing Code

2004-03-21 Thread Kalyan C Dudala
Hi, I am working on some gene expression data and am trying to come up with a random walk algorithm to cluster my data. Here's what I need. I have a probability matrix of several genes against each other. Assuming each one of the genes (columns and rows) on the probability matrix is a node, I

Re: extracting data from table embedded in Word document

2004-03-21 Thread Ralf Schaa
Andrew Gaffney wrote: I'm writing a web-based client information system for a lawyer. His current client list is in a 137 page Word document with an embedded table. I can get it into a somewhat usable format by copying the entire table, pasting into Excel, and saving as tab delimeted text, but