question on appending file

2008-06-25 Thread bob
Hi I wrote a program to append a number to an existing file. but found a problem that i can't understand *** code1: my $cnt= 0 open FILE, ">>diff.txt"; while () { if (match some condition) { $cnt= $cnt+ 1; } } print FILE "cnt is

Splitting and printing on a single line

2012-01-05 Thread bob
Hello I am very new to perl and I need some guidance on the following issue My data set is like this --- Record 38 Richard Nixon http://en.wikipedia.org/wiki/Richard_Nixon --- Record 39 Gerald Ford http://en.wikipedia.org/wiki/Gerald_Ford -

Books

2002-05-14 Thread Bob
o the other too much. I ordered the newest Learning Perl just in case. -- Bye Bob Bob Axmear 208 2nd St Ne Waukon, Ia 52172 http://groups.yahoo.com/group/the_refuge Websites http://gardensights.com Hosta Library http://hostalibrary.org/ -

Re: [ Something Funnie to Read ;) ]

2002-05-16 Thread Bob
n't a document, just a link. -- Bye Bob Bob Axmear 208 2nd St Ne Waukon, Ia 52172 http://groups.yahoo.com/group/the_refuge Websites http://gardensights.com Hosta Library http://hostalibrary.org/ -- To unsubscribe, e-mail: [EMAI

RE: splitting strings with quoted white space

2001-06-06 Thread Accountant Bob
How about this: (the same but "unrolled") my @elements; push @elements, $1 while /\G\s*"([^\\"]*(?:\\["\\][^\\"]*)*)"/gc or /\G\s*'([^\\']*(?:\\['\\][^\\']*)*)'/gc or /\G\s*([^\s'"]\S*)/gc; is there actually an advantage to doing this? -Original Message- From: Randal L. Schwart

RE: system

2001-06-07 Thread Cheek, Bob
Since the problem is in your C program during the run of Perl, did you check your C program for how it opens the file? The C program probably is not specifying the full path to the file it is trying to open. -Original Message- From: prachi shroff [mailto:[EMAIL PROTECTED]] Sent:

RE: splitting strings with quoted white space

2001-06-07 Thread Accountant Bob
27; Pinyan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 8:38 AM To: Ondrej Par Cc: Accountant Bob; "Randal L. Schwartz" <[EMAIL PROTECTED]> Peter Cornelius; [EMAIL PROTECTED] Subject: Re: splitting strings with quoted white space On Jun 7, Ondrej Par said: >On Wednesda

counting regex matches

2001-06-14 Thread Bob Mangold
Is there a simple way to know how many times a regex matches. Say for example: $string =~ /a/g; # match on all 'a' in $string Now how do I know how many times it actually matched? -Bob __ Do You Yahoo!? Get personalized email addr

readline

2001-06-15 Thread Bob Mangold
I'm having trouble reading STDIN. This works: $a = readline STDIN; print $a; # prints out whatever was inputed But the does not work: use strict; $a = readline ; # forced to use print $a; # prints nothing __ Do You Yahoo!? Get personalized emai

variable losing it's value

2001-06-19 Thread Bob Mangold
I may have a bug somewhere in my code, but I can't find it. Before I look again though please answer this for me. If I execute: my ($line) = "hello"; foreach $line (<>){ . whatever } print $line; Should it print the last line in

Re: variable losing it's value

2001-06-19 Thread Bob Mangold
g line. If this is the case then why does perl localize it anyway. If i'm declaring it before that loop shouldn't its scope carry through the loop? -Bob --- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Jun 19, Bob Mangold said: > > >I may have a bug

Fwd: Re: variable losing it's value

2001-06-19 Thread Bob Mangold
--- Bob Mangold <[EMAIL PROTECTED]> wrote: > Date: Tue, 19 Jun 2001 19:40:51 -0700 (PDT) > From: Bob Mangold <[EMAIL PROTECTED]> > Reply-to: [EMAIL PROTECTED] > Subject: Re: variable losing it's value > To: Michael Fowler <[EMAIL PROTECTED]> > > B

loop counting

2001-06-29 Thread Bob Mangold
Is there a perl variable that automatically counts loop iterations. Such that I don't have to use '$count': foreach (@array){ $count++; ..whatever.. } ????? Thanks, Bob __ Do You Yahoo!? Get personalized email addresses from Y

Re: loop counting

2001-06-29 Thread Bob Mangold
ft off, or what the last matched item was, or what line of a file it's reading, that it might be keeping track of this too. -Bob --- Paul <[EMAIL PROTECTED]> wrote: > > --- Bob Mangold <[EMAIL PROTECTED]> wrote: > > Is there a perl variable that automatically counts loop

using the backspace \b character

2001-07-02 Thread Bob Mangold
#x27; in 'world' with an 'a', but is there away to backspace over both lines. I guess what I really need to do is backspace over an '\n'. Is that possible? -Bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

referncing hashes of array references

2001-07-05 Thread Bob Mangold
shREF = \%hash; print ${${$hashREF}{'foo'}}[1]; now I know that will print "white". but is there another syntax that will get me the same result and is a little easier to read? -bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

perl / php question

2001-07-09 Thread Bob Mangold
STDOUT? (I can't just change the filehandle because the code is buried somewhere down in a module) -Bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

STDIN and STDOUT

2001-07-10 Thread Bob Mangold
but I want that output to go to the filehandle STDOUT. -Bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
in itself is weird because i can push STDERR to a file, but not to STDOUT.) -Bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

Help: Searching an array question++

2001-07-10 Thread Bob Bondi
Yep, another newbie at Perl. I have come to a wall. What I need to do is open a file, find a value in the file and substitute a value. I've gotten to the point of what to do with an open file. I have been trying the @array = statement. I then wanted to verify the contents of the array and tried p

Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
> Are you sure it's STDERR? Some write directly to ther terminal > screen... > I checked through the module code and it definitely says 'print STDERR ...'. > What is this module? The module is 'bioperl' (used for genetic analysis). __ Do You Ya

(solution) Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
t what the heck is it doing. i've never seen that syntax. -bob __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

multiprocessors and perl

2001-07-10 Thread Bob Mangold
differently to take advantage of both processors? - Is there anything at all I should know about perl's behaviour in this type of environment that might be helpful? Thanks, Bob __ Do You Yahoo!? Get personalized email addresses f

FOLLOWUP Question: RE: Help: Searching an array question++

2001-07-11 Thread Bob Bondi
Thanks for the feedback, everyone. My goal for this script is to make "this.gif" and "that.gif" change places in the file. I.E. - this.gif that.gif this.gif - after running the script I would have - that.gif this.gif that.gif - usin

I need to "touch" a binary file

2001-07-11 Thread Bob Bondi
So, simple on Unix/Linux! Are there any solutions via Perl to "touch" a binary file?

Can Perl 'see' HTML IfModifiedSince calls?

2001-07-12 Thread Bob Bondi
I need to know if my browsers are sending IMS calls to the web server to fetch html, images, etc. Is Perl able to watch the data returned to the browser and tell me if IMS calls occurred?

unsubcribe

2001-07-13 Thread Bob Tripp
_ Get your FREE download of MSN Explorer at http://explorer.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help: Starting a script with command line arguments

2001-07-19 Thread Bob Bondi
My question is: how can I pass arguments to a script from the command line? The script at the tail of this message is what I thought would print the 2 arguments I passed into the script, yet the output for this snippet is: Here ya go: Here ya go: Count is: 0 Not enough arguments to get started #\

RE: Out of memory on sort !!!!

2001-07-19 Thread Bob Showalter
> @sorted = sort { $data[$a] [0] <=> $data[$b] [0] } @data; In the sort block, $a and $b are *elements* of @data, not *subscripts*. Your sort block should be more like { $a->[0] <=> $b->[0] } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: regex question with s///

2001-07-19 Thread Bob Showalter
Bradford Ritchie wrote: > Is it possible to take a string ($pat) do a substitution on > it and print the result, without actually changing the > contents of the original variable? No; you have to do the subsitution on a copy. > > Basically, I'm trying to write a script that will take a > str

RE: Re: Module question

2001-07-19 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > Like I said I was frustrated. I'm using the Deitel and > Deitel book. But it is probably not it's fault. I'm just confused. Don't know the book. I Suggest the O'Reilly books. > I thought I understood I needed to define how I should use > the module so it would use

Snippet to list both directories and files to an array or...?

2001-07-20 Thread Bob Bondi
I've been trying to use opendir($tempdir,@ARGV[0]) or die "Couldn't open the directory, $!"; Can't use string ("tempdir") as a symbol ref while "strict refs" in use at run test4.pl line 58. So, is there a snippet, please, that will do this? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: parsing a session id out of LWP::

2001-07-23 Thread Bob Showalter
> -Original Message- > From: Mark Maunder [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 23, 2001 2:09 PM > To: Kevin Harwood; Beginners@Perl. Org > Subject: RE: parsing a session id out of LWP:: > > > The URL is what you're requesting. Unless you receive a > redirect with LWP::UserAg

Can PERL do a DIRECT GET?

2001-07-23 Thread Bob Bondi
In fact what is a DIRECT GET compared to a GET? But, I need to do a DIRECT GET, for testing IMS stuff in headers. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Deleting the contents of file:Help

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Rahul Garg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 4:44 AM > To: [EMAIL PROTECTED] > Subject: Deleting the contents of file:Help > > I want to search for a specific mailid in a file and if found > then delete that mailid from that file. Do

RE: feasibility check allowed?

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Giridhar nandikotkur [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 12:04 PM > To: Perl Gurus > Subject: feasibility check allowed? > > > Hi anyone > > I had a question about feasibility. I am not sure if > such questions are allowed but any an

RE: passing a value to Perl

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Ackim Chisha [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 1:38 PM > To: [EMAIL PROTECTED] > Subject: passing a value to Perl > > > Hi everybody, > > is there a better way to pass a value from a shell script > rather than write to a file and ha

RE: Cleanest way to split this

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Filip Sneppe (Yucom) [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 1:42 PM > To: [EMAIL PROTECTED] > Subject: Cleanest way to split this > > > Hi, > > I have input lines that look like this: > > username,[EMAIL PROTECTED],age,streetname numbe

No "make", "nmake", or "dmake" in build 628 of ActivePerl for Win32?

2001-07-24 Thread Bob Abugov
Hi, I'm trying to build modules on a Win2K system using the Perl make command. What do I need to do? When I try to use it after building a Makefile, Perl can't seem to find here's what I get: >perl Makefile.PL Checking for URI ... Checking if your kit is complete ... Looks good Writing Makef

RE: Problem with scan fields using split

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Marvin Bonilla [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 1:54 PM > To: [EMAIL PROTECTED] > Subject: Problem with scan fields using split > > > Hello > > Certainly I have already new in program with perl , so I need > help with a log scan

RE: reading a text file

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Debbie Christensen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 3:03 PM > To: [EMAIL PROTECTED] > Subject: reading a text file > > > I am brand new to perl; I am only on chapt 4 of the learning > perl book. My boss has already given me a proje

RE: basename ?

2001-07-24 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 5:33 PM > To: [EMAIL PROTECTED] > Subject: RE: basename ? > > > Why add another module when one regexp can do it? ;) The module does allow you to deal with non-Unix systems where th

RE: Running Perl scripts...

2001-07-25 Thread Bob Showalter
> -Original Message- > From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 1:46 AM > To: [EMAIL PROTECTED] > Subject: Running Perl scripts... > > > List, > > I want to be able to check for errors on my Linux box before > I run them in a browser. The pr

RE: stat() keeps returningthe incorrect date

2001-07-25 Thread Bob Showalter
> -Original Message- > From: Shepard, Gregory R [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 10:56 AM > To: '[EMAIL PROTECTED]' > Subject: stat() keeps returningthe incorrect date > > > I am trying to create a script which gathers the stat info of > every file in a given

Getting values from a file

2001-07-25 Thread Bob Bondi
I'm planning on starting my perl script with a commandline argument, a filename. I open the file and parse through it line by line, OK, but I'm getting a blank on how to grab the value out of the file for a variable in the script. The file will read like: -TestClass = 3 -TestCase = all -Proxy_IP =

RE: First Script Question

2001-07-25 Thread Bob Showalter
> -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 2:29 PM > To: [EMAIL PROTECTED] > Subject: First Script Question > > > > Hi all, i've been receiving the list mail for a few days and > read through > what people seem to need to lo

RE: clearing memory

2001-07-25 Thread Bob Showalter
> -Original Message- > From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 3:07 PM > To: Beginners (E-mail) > Subject: clearing memory > > > Folks, > > I am drawing a blank here.. I am onsite at a customers > location with not perl books and perldoc is n

RE: Cooperating with WINSOCK using Socket::

2001-07-25 Thread Bob Showalter
> -Original Message- > From: Dan Grossman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 3:51 PM > To: [EMAIL PROTECTED] > Subject: Cooperating with WINSOCK using Socket:: > > > Hello, > > I'm hoping someone can help me with an INET Socket question. > I have the followin

RE: Whole Script, global symbol?

2001-07-25 Thread Bob Showalter
> -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 4:36 PM > To: [EMAIL PROTECTED] > Subject: Whole Script, global symbol? > > > > > I modified the script to reflect what was suggested to me > earlier, and now > when i run it, i rece

RE: perldoc

2001-07-25 Thread Bob Showalter
> -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 5:03 PM > To: [EMAIL PROTECTED] > Subject: perldoc > > > > ok so to have global symbols i need to declare them. i can understand > that. in perldoc there in no my on this system it

RE: Convert date mmddyy to day of the week

2001-07-26 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 4:33 PM > To: [EMAIL PROTECTED] > Subject: Convert date mmddyy to day of the week > > > I want to convert a date in the format mm/dd/yy to the day of > the week. For example 07/2

RE: USPS has me stumped!

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Luke Bakken [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 5:13 PM > To: [EMAIL PROTECTED] > Subject: USPS has me stumped! > > > Hi all, > > I'm tinkering with some of the libwww modules and trying to > get some information from the USPS web s

RE: clearing memory

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Michael Fowler [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 5:26 PM > To: Yacketta, Ronald > Cc: Beginners (E-mail) > Subject: Re: clearing memory > > ... > The ideal solution would be to use > lexical variables that go out of scope before it s

RE: Reading binary files

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Sambamoorthy Jayaraman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 2:32 AM > To: [EMAIL PROTECTED] > Subject: Reading binary files > > > Hi, > > How do I read a binary file?? From this file, I need to read > 16 bit values. > I have attached

RE: array contents to a file

2001-07-26 Thread Bob Showalter
> -Original Message- > From: John Edwards [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 4:43 AM > To: 'Ron Smith'; [EMAIL PROTECTED] > Subject: RE: array contents to a file > > ... > foreach $element(@array) { > print FILE "$element\n"; > } FWIW, this can be simplifed

RE: isWindows95() and isWIndowsNT()

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Barry Carroll [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 8:18 AM > To: '[EMAIL PROTECTED]' > Subject: isWindows95() and isWIndowsNT() > > > Hi all, > > This is my first post :) > > I once saw functions such as the ones above for perl. > >

RE: Tear me to shreds please...

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Michael Carmody [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 2:30 AM > To: [EMAIL PROTECTED] > Subject: Tear me to shreds please... > ... Regarding this section of the code: > $c = ($data[4][$i] =~ s/\//\//g); > if ($c eq "")

RE: Login error w/FTP

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Sparkle Williams [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 10:13 AM > To: [EMAIL PROTECTED] > Subject: Login error w/FTP > > > Well, I have this script that I'm trying to write using the > FTP module, > however it keeps responding with an

RE: code doesn't work

2001-07-26 Thread Bob Showalter
> -Original Message- > From: COLLINEAU Franck FTRD/DMI/TAM > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 11:12 AM > To: Perl (E-mail) > Subject: code doesn't work > > > Hi, > > Can anybody tell me why this code doesn't work ? Define "doesn't work" > > #!/usr/bin/perl

RE: "last until eof unless" question

2001-07-26 Thread Bob Showalter
> -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 2:47 PM > To: [EMAIL PROTECTED] > Subject: Re: "last until eof unless" question > > > > > well, i'm strictly speaking from a grammatical point of view, > but it would > seem to me t

Why does this conditional fail? Perl bug?

2001-07-26 Thread Bob Bondi
Probably not a Perl bug, but this is so confusing I' probably enter it as a bug Given the script below and the fact that you run it like: > perl foo.pl -p 10.0.0.1 -s 8080 -t SOS what would you expect the output to be? use strict; use Getopt::Std; my %opts = (); getopt('pst', \%opts);

use Getopt::Std question

2001-07-26 Thread Bob Bondi
I really like this set of functions, very handy indeed. I've done this: my %opts = (); getopt('psuctfh', \%opts);#proxy serviceport url testclass testcase filename my $proxy = $opts{p}; my $serviceport = $opts{s}; my $thisurl = $opts{u}; my $testclass = $opts{c}; my $testcase = $opts{t}; my $this

RE: setting and importing ENV from within PERL

2001-07-27 Thread Bob Showalter
> -Original Message- > From: perl newbie [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 6:22 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: setting and importing ENV from within PERL > > > I am trying to figure out if there is a way to : > > a) set an ENV

RE: UNIQUE ID problems...

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 2:50 AM > To: Beginners (E-mail); Beginners-Cgi (E-mail) > Subject: UNIQUE ID problems... > > > List, > > Interesting problem that I think proves just how much I > really don't know

RE: deleting lines

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Me [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 5:30 AM > To: COLLINEAU Franck FTRD/DMI/TAM; Perl (E-mail) > Subject: Re: deleting lines > > > > I would like too delete the 2nd, 3rd, 4, and 5 lines of a file. how > > can i do ? > > Try this at

RE: Passaing arrays or array references as parameters

2001-07-27 Thread Bob Showalter
e CGI; my $q = new CGI; my @color = $q->param('color'); @color would contain ('red', 'white', 'blue') HTH, -- Bob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: lost in hashes

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Mooney Christophe-CMOONEY1 [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 10:21 AM > To: begginners > Subject: RE: lost in hashes > > ...Also, when you reference some field from $T{d4}, you need to > be sure to deREFERENCE it like this: > > $T{d4}

RE: in over my head in hashes again

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Jerry Preston [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 1:09 PM > To: begginners > Subject: in over my head in hashes again > > > Hi! > > I am lost again: > > > > %T_QUESTION = { (snip remainder) The construct %foo = { blah ... };

RE: CGI to rewrite a URL

2001-07-27 Thread Bob Showalter
> -Original Message- > From: Rich Fernandez [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 27, 2001 3:09 PM > To: [EMAIL PROTECTED] > Subject: CGI to rewrite a URL > > > Hi, > > I've been asked to write a CGI script that takes a URL of the form: > https://webserver/cgi-bin/myscr

loose matching with regex

2001-07-28 Thread Bob Mangold
tain percentage? -Bob __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: (MORE INFO) loose matching with regex

2001-07-28 Thread Bob Mangold
I'm doing genetic analysis of whole genomes, hence the 4.5 million long string. -Bob --- Abdulaziz Ghuloum <[EMAIL PROTECTED]> wrote: > Hello, > > I don't have a direct answer for your question since your question is a > little bit ambigious; let me explain: > >

RE: [Fwd: Re: how can an element in a array be deleted from a subroutine ?]

2001-07-30 Thread Bob Showalter
> -Original Message- > From: Narendran Kumaraguru Nathan [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 6:08 AM > To: [EMAIL PROTECTED] > Subject: [Fwd: Re: how can an element in a array be deleted > from a subroutine ?] > > > > Hai all, >I have found it myself, using sp

RE: eval and Data::Dumper

2001-07-30 Thread Bob Showalter
> -Original Message- > From: mark crowe (JIC) [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 11:25 AM > To: beginners > Subject: eval and Data::Dumper > > > Please can someone give me some advice about Data::Dumper. I > have a program which will generate a large multidimensio

RE: most efficient way to count lines in a file

2001-07-30 Thread Bob Showalter
> -Original Message- > From: ERIC Lawson - x52010 [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 11:35 AM > To: [EMAIL PROTECTED] > Subject: most efficient way to count lines in a file > > > What's the most efficient way to find the total number of > lines in a file using per

RE: Destroying Database Handle

2001-07-30 Thread Bob Showalter
> -Original Message- > From: Frank Newland [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 11:35 AM > To: [EMAIL PROTECTED] > Subject: Destroying Database Handle > > > Question about DBI > > I'm having success in preparing , executing and getting SQL > output when I use DBI.

Getopts and ARGV

2001-07-30 Thread Bob Bondi
I've been trying to figure out how to give help with a -h opt flag and use the Getopt::Std within the same script. I've tried several ways to make this happen, and stumbled on an answer. I've discovered that use Getopt::Std will not allow me to use @ARGV beyond the point I have typed Getopt::Std

RE: search for string in a file

2001-07-30 Thread Bob Showalter
> -Original Message- > From: alex stan [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 1:57 PM > To: [EMAIL PROTECTED] > Subject: search for string in a file > > > I need to search for a string in httpd.conf file , ( the > string is : CustomLog /var/log/httpd/site.com/access_l

RE: DBI question ...

2001-07-31 Thread Bob Showalter
> -Original Message- > From: Elie De Brauwer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 9:16 AM > To: [EMAIL PROTECTED] > Subject: DBI question ... > > > Hello, > I have a little problem relating a program that I'm writing. > This program > involves getting data from my

RE: substitution

2001-07-31 Thread Bob Showalter
> -Original Message- > From: COLLINEAU Franck FTRD/DMI/TAM > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 8:15 AM > To: Perl (E-mail) > Subject: substitution > > > Hi! > > I have a file where there is a line whitch begans by the > string "". I would like to remove the st

RE: check array element (HELP)

2001-07-31 Thread Bob Showalter
> -Original Message- > From: Mooney Christophe-CMOONEY1 [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 9:44 AM > To: [EMAIL PROTECTED] > Subject: RE: check array element (HELP) > > > I would probably do this, although i'm sure some smarty-pants > could come up with a one-lin

RE: Security Question (follow-up question)

2001-07-31 Thread Bob Mangold
This is somewhat alarming to me because I hadn't realized this potential before, but is there an easy way to check what is being opened. Would using a -f() or -d() to verify that you were actually opening a file or directory do the trick? -Bob --- Mooney Christophe-CMOONEY1 <[EMAIL P

RE: Exec cgi

2001-07-31 Thread Bob Showalter
> -Original Message- > From: Tiago Almeida Spritzer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 10:44 AM > To: [EMAIL PROTECTED] > Subject: Exec cgi > > > Hi, > > Anybody help me with this question? > I have two folders at the server, one with perl files > and

RE: Exec cgi

2001-07-31 Thread Bob Showalter
> -Original Message- > From: Tiago Almeida Spritzer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 10:44 AM > To: [EMAIL PROTECTED] > Subject: Exec cgi > > > Hi, > > Anybody help me with this question? > I have two folders at the server, one with perl files > and

RE: binary files

2001-07-31 Thread Bob Showalter
> -Original Message- > From: Tyler Cruickshank [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 1:32 PM > To: [EMAIL PROTECTED] > Subject: binary files > > > Hello. > > Looking for some binary file help. I want to read, > manipulate, and print (in ascii) a binary file on a

RE: Printing a data structure

2001-08-01 Thread Bob Showalter
> -Original Message- > From: Chris Garringer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 10:19 AM > To: [EMAIL PROTECTED] > Subject: Printing a data structure > > > I have a data structure $logs[]{}{}[] that has the data > parsed from a log file. I need to print the s

RE: Sending mail using PERL with file as body of message

2001-08-01 Thread Bob Showalter
> -Original Message- > From: Rice, Elizabeth A. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 11:58 AM > To: '[EMAIL PROTECTED]' > Subject: Sending mail using PERL with file as body of message > > > ... > Here's the basic sendmail code: > > open(TMPMAIL, "<$tmpma

RE: check array element (HELP)

2001-08-01 Thread Bob Showalter
> -Original Message- > From: Wagner Jeff Civ Logicon/TTMS > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 2:14 PM > To: Bob Showalter > Cc: '[EMAIL PROTECTED]' > Subject: RE: check array element (HELP) > > > Let me see if I under

RE: check array element (HELP)

2001-08-01 Thread Bob Showalter
> -Original Message- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 3:41 PM > To: Bob Showalter; '[EMAIL PROTECTED]' > Subject: RE: check array element (HELP) > > > > --- Bob Showalter <[EMAIL PROTECTED]> wrote:

RE: save file in an array

2001-08-01 Thread Bob Showalter
> -Original Message- > From: Jennifer Pan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 4:45 PM > To: [EMAIL PROTECTED] > Subject: save file in an array > > > I want to download a page, and want to save it in an array to parse it > later on, > I did > > #usr/local/bin/

RE: Valid DB Handle Assertion Test

2001-08-02 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 9:44 AM > To: [EMAIL PROTECTED] > Subject: Valid DB Handle Assertion Test > > > > Can I test for the existence of a method without actually calling it? I don't know. Maybe, but s

RE: File Handling question - easy

2001-08-02 Thread Bob Showalter
> -Original Message- > From: Jon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 2:03 PM > To: [EMAIL PROTECTED] > Subject: File Handling question - easy > > > I don't know if I sent my first email correctly. Sorry for > the repeat if I > did, I'm new :) > > Hello, > The

RE: Help with Net::Telnet module

2001-08-02 Thread Bob Showalter
> -Original Message- > From: S. Johnson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 5:05 PM > To: [EMAIL PROTECTED] > Subject: Help with Net::Telnet module > > > I am looking for some help debugging a problem with the > Net::Telnet module > written by Jay Rogers. > > H

RE: input output append

2001-08-02 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 5:10 PM > To: [EMAIL PROTECTED] > Subject: input output append > > > HI, > anyone knows the right syntax for reading and writing > (appending) to a file. I assume you mean "open

RE: Where is DB_File::Lock module?

2001-08-02 Thread Bob Showalter
> -Original Message- > From: Carlos C.Gonzalez [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 7:35 PM > To: [EMAIL PROTECTED] > Subject: Where is DB_File::Lock module? > > > Hi everyone, > > I am going absolutely nuts trying to find where to get the > DB_File::Lock > mo

RE: File Handling question - easy

2001-08-03 Thread Bob Showalter
> -Original Message- > From: Michael Fowler [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 2:48 PM > To: Bob Showalter > Cc: [EMAIL PROTECTED] > Subject: Re: File Handling question - easy > > > On Thu, Aug 02, 2001 at 02:31:28PM -0400, Bob Sh

RE: Any good perldoc viewer?

2001-08-03 Thread Bob Showalter
> -Original Message- > From: Will Muir [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 03, 2001 10:10 AM > To: [EMAIL PROTECTED] > Subject: Any good perldoc viewer? > > > > Is there such a thing as a good perldoc viewer, I guess what > I mean is there something other then the dos pro

RE: Perl equivalent of "case" or "switch" statements ?

2001-08-06 Thread Bob Showalter
> -Original Message- > From: jp [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 06, 2001 11:21 AM > To: [EMAIL PROTECTED] > Subject: Perl equivalent of "case" or "switch" statements ? > > > > I've been searching through books and web resources > but can't seem to find any reference to

RE: == vs eq What's the difference?

2001-08-06 Thread Bob Showalter
> -Original Message- > From: Michael Kelly [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 06, 2001 1:38 PM > To: [EMAIL PROTECTED] > Subject: Re: == vs eq What's the difference? > > ... > To elaborate, all strings have a numerical value of 0. Ouch! need to clarify that a bit. When c

RE: Did I violate?

2001-08-06 Thread Bob Showalter
> -Original Message- > From: Tom Malone [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 06, 2001 2:59 PM > To: [EMAIL PROTECTED] > Subject: Did I violate? > > > Hey everyone! > > I hope that I did not violate some rule of list etiquette > with my messages > about writing Perl script

RE: Did I violate?

2001-08-06 Thread Bob Showalter
> -Original Message- > From: Tom Malone [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 06, 2001 3:26 PM > To: Bob Showalter > Subject: Re: Did I violate? > > > Is that what my problem was (why nobody responded)? Because > a lot of people > didn&#

  1   2   3   4   5   6   7   8   9   10   >