Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Denis Shagimuratov
hi Etienne, Friday, November 09, 2001, 8:08:03 PM, you wrote: EM> I'm from Quebec, Canada.. and you? South Ural, Russia -- Yours faithfully, Denis Shagimuratov. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Joel Divekar
Hi I am from Mumbai, India Working for a software firm. God only knows how long my company will survive ... Feeling the pain of recession ... Perl Monk on www.perlmonk.org (Jamnet) Have a 9+ years experience Looking for a good job... Ready to relocate Regards Joel At 03:56 PM 11/9/

This program cannot run in DOS mode

2001-11-09 Thread YuanJing Wei
i cannot get perl to run my scripts in the command window. using win98se. was fine before, but now (This program cannot run in DOS mode) msg appears whenever i try to run perl __ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Randal L. Schwartz) wrote: > > "Christopher" == Christopher Solomon <[EMAIL PROTECTED]> writes: > Christopher> But you must get to meet so many great people! > I do, for a few hours at a time. It's hard to do more than get an > interest i

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Sumit_Babu
I expected at-the-least one mail from India... I was surprised when i found none. I am from the beautiful Garden City of India... Bangalore, India. Nice to meet you all on this awesome list and thanks for such a wonderful list :-) Regards, Sumit. **

RE: basic pattern matching

2001-11-09 Thread Wagner-David
By adding a ^ - anchor at beginning and $ anchor at end: /^name$/# must be name /^name/ # must start with name /name$/ # must end with name Wags ;) -Original Message- From: HANSON [mailto:[EMAIL PROTECTED]] Sent: Friday, Nov

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread Jason Ya hoo
Hi Alfred, Base on your answer, I added my idea and changed the script as: $name1_perl="MaryGibson"; open IT, ">t3.bat"; print IT "\@echo off\n"; print IT "set name1_dos=$name1_perl\n"; print IT "\@echo name1_dos=%name1_dos%\n"; close IT; system ( "t3.bat" ); The contain of $name1_per1 ,MaryGib

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Elaine -HFB- Ashton
Richard S. Crawford [[EMAIL PROTECTED]] quoth: *>Business travel sucks. I spent a week in Boston. Or so I'm told. Instead *>of seeing historic sites or meeting interesting people, I saw my hotel *>room, the convention room floor, and the street between them. I got to go *>to one restaurant

Re: What was your first Perl script

2001-11-09 Thread Roger
Around Fri,Nov 09 2001, at 06:56, Tara Calishain, wrote: >At 07:11 PM 11/9/2001, you wrote: >>My first script in perl was: > >My first perl script was about 2 months ago. All it does is ask for a text Okay, My first script (other than hacking others to add features) was a script to add users

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread Alfred Wheeler
I'm not sure this answers your question... However - #!perl open IT, ">mybat.bat"; print IT "\@echo off\n"; print IT "echo Hello World!\n"; close IT; system ( "mybat.bat" ); - Original Message - From: "Jason-Yahoo" <[EMAIL PROTECTED]> To: "A. Rivera" <[EMAIL PROTECTED]>; <[EMAIL PROTECT

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread Jason-Yahoo
Regular, I set variable contain in DOS batch file by: set name1_dos=TomSmith If I have a variable in Per script as: $name1_perl=MaryGibson How can I get the contain of $name1 to my DOS environment or vice versa. That means how to transfer MaryGibson to overwrite TomSmith, contain of name1_dos, o

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread A. Rivera
I'm not too sure of what you're asking for. Can you give me a better example? Maybe someone else knows what you want. - Original Message - From: "Jason-Yahoo" <[EMAIL PROTECTED]> To: "A. Rivera" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 4:37 PM Subject: Re

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread Jason-Yahoo
Thank you very much. I tested successfully. One more question that how can I transfer the variables of in Perl Script to DOS batch or vice versa (e.g. "$name1_perl=..." in Perl; "set name1_dos=..." in DOS Batch) --- "A. Rivera" <[EMAIL PROTECTED]> wrote: > system("batchfile.bat"); > > - Or

Re: How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread A. Rivera
system("batchfile.bat"); - Original Message - From: "Jason-Yahoo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 4:09 PM Subject: How to run DOS batch files or DOS commands in the Perl script > I can run perl script in the DOS batch file e.g. > > > @e

RE: Easy one...

2001-11-09 Thread Gibbs Tanton - tgibbs
chomp( $input = ); -Original Message- From: A. Rivera To: [EMAIL PROTECTED] Sent: 11/9/2001 6:06 PM Subject: Easy one... I've got a simple question.. How do I do this in one line... $input=; chomp($input); Thanks! Agustin Rivera -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

How to run DOS batch files or DOS commands in the Perl script

2001-11-09 Thread Jason-Yahoo
I can run perl script in the DOS batch file e.g. @echo Next line will run Perl Script perl perl_sample1.pl But, how can I run DOS batch files or commands and executable file in the Perl script. Please give me example. __ Do You Yah

RE: basic pattern matching

2001-11-09 Thread Gibbs Tanton - tgibbs
One way is that you can use eq instead of =~. If there is a reason you can't use eq then you can use /^name$/. That will cause it only to match the string name. BTW, eq does an exact string match while =~ does a pattern match. To illustrate the difference, consider the following lines print "

Easy one...

2001-11-09 Thread A. Rivera
I've got a simple question.. How do I do this in one line... $input=; chomp($input); Thanks! Agustin Rivera -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What was your first Perl script

2001-11-09 Thread Tara Calishain
At 07:11 PM 11/9/2001, you wrote: >My first script in perl was: My first perl script was about 2 months ago. All it does is ask for a text file with a list of URLs, then grabs each URL from the Web and saves it to its own file in a folder. I use it to read weblogs that don't syndicate their he

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Bruce Ferrell
Alameda California -- Bruce One day at a time... One second if that's what it takes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Bruce Ferrell
Etienne Marcotte wrote: > > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm from Quebec, Canada.. a

Re: What was your first Perl script (was Off-Topic (200%) - Where are you from?)

2001-11-09 Thread Jim Conner
At 16:40 11.09.2001 -0500, Brett W. McCoy wrote: >On Fri, 9 Nov 2001, Carol Stone wrote: > > > I'm pretty happy about this, I must admit. > >Congratulations! > >My first Perl script, from 1998 or 1999, was rather ambitious considering >I knew very little about the language, was used to audit a dat

basic pattern matching

2001-11-09 Thread HANSON
Hi gurus! I am traversing a multidimensional hash searching for a value and trying to delete it. However, I am ending up deleting the wrong one. The value I'm looking for is /name/. There is also a value of /name1/ in the hash. When I use =~/name/ it deletes the name1 value somehow. Is there

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jim Conner
At 15:29 11.09.2001 -0600, Frank Newland wrote: >Opelika, Alabama.. >North of Beauregard, >East of Lochapoka, >South of Buffalo, >West of Bleecker > >-Original Message- >From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] >Sent: Friday, November 09, 2001 9:08 AM >To: [EMAIL PROTECTED] >Subj

getting date from STDIN problem

2001-11-09 Thread Greg Sarsons
I've got a problem with my script below. The files it is going to parse start usually 1 minute prior to midnight (newday). I really don't care about this minute before midnight so I figured I just reset the hash at new day. All that is happening is every 5 minutes a new entry is put in the h

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jaimee Spencer
So am I! -Original Message- From: Jim Conner [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 4:03 PM To: Tyler Cruickshank Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you from? At 11:58 11.09.2001 -0700, Tyler Cruickshank wrote: >ah, wha

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jim Conner
My parents live in SD. Heh, maybe when I move back I will move to OC and live between SD and LA ;) I love OC! At 12:25 11.09.2001 -0800, Michael Kelly wrote: > > San Diego, California, dude. > >Definitely a small world. Same here! Good ol' sunny San Diego where >it's...foggy. > >-Michael Kelly

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jim Conner
At 11:58 11.09.2001 -0700, Tyler Cruickshank wrote: >ah, what the hey ... > >Salt Lake City, UT - Greatest Snow on Earth. > > and no, Im not! Hahaha, and I know exactly what you're talking about! =P Cuz, I am...that's funny. > >>> "Joyce Harris" <[EMAIL PROTECTED]> 11/09/01 11:57AM >>> >Kn

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jim Conner
Transplant from Los Angeles Ca, in Charlotte NC...MAN do I wanna go home! At 10:27 11.09.2001 -0500, [EMAIL PROTECTED] wrote: >Atlanta, Georgia > >Rex :)- > >-Original Message- >From: Wagner-David [mailto:[EMAIL PROTECTED]] >Sent: Friday, November 09, 2001 10:26 AM >To: 'Etienne Marcotte'

Re: Duplicates in 2D Array

2001-11-09 Thread Clinton
Thanks Andrea & Rex. I think I understand the commify issue but need to work on understanding the syntax. Will come back to the list if I can't hack it. Regards Clinton - Original Message - From: "Rex Arul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Andrea Holstein" <[EMAIL PROTECTED]>

arrays and file::find

2001-11-09 Thread Ben Crane
> Hi, > > I have a little advice to beg for :) > > I'm reading a file, putting in certain lines, > actually, the lines are paths to files on our > network. > I am going to put them into an array, and then run > file::find to double check, and put in a new array > the the paths in the array a

RE: constant redefinition does not produce a warning

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Brett W. McCoy wrote: > > That's odd...I get that error as well if I use -w. But I don't if I just > > say use warnings; I thought use warnings was supposed to supersede -w? > > Does it not? > > You might want to read the perldoc on perllexwarnings. Sorry, that's perllexwar

RE: constant redefinition does not produce a warning

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Gibbs Tanton - tgibbs wrote: > That's odd...I get that error as well if I use -w. But I don't if I just > say use warnings; I thought use warnings was supposed to supersede -w? > Does it not? You might want to read the perldoc on perllexwarnings. -- Brett

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Paul Lantinga
Toronto, Ontario - although I'm really from the United States. No igloos here. > I'm from Quebec, Canada.. and you? > > Sorry if it's way off topic, I hope the ones that hate OT subject > filtered *off*topic* in their emails! >

Re: constant redefinition does not produce a warning

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Gibbs Tanton - tgibbs wrote: > Does anyone know why the following: > > use strict; > use warnings; > > use constant I => 1; > use constant I => 2; > > print I(); > > does not produce a warning about the redefinition of I? That is a real pain > as I had about 60 constants and

RE: constant redefinition does not produce a warning

2001-11-09 Thread Wagner-David
Note: I have as first line of script: #!perl and usually have -w If I have -w then I get the warning, without I get no warning at all. So maybe one of the gurus can tell us do you need some type of brackets or to get the warning if yo

RE: constant redefinition does not produce a warning

2001-11-09 Thread Gibbs Tanton - tgibbs
That's odd...I get that error as well if I use -w. But I don't if I just say use warnings; I thought use warnings was supposed to supersede -w? Does it not? -Original Message- From: Wagner-David To: 'Gibbs Tanton - tgibbs'; '[EMAIL PROTECTED]' Sent: 11/9/2001 4:30 PM Subject: RE: const

RE: constant redefinition does not produce a warning

2001-11-09 Thread Wagner-David
Under 5.6.0, build 623, I get: [C:/] aapl273 Constant subroutine I redefined at D:/Perl/lib/constant.pm line 91. 2[C:/] perl -v This is perl, v5.6.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2000, Larry Wall Binary build 62

constant redefinition does not produce a warning

2001-11-09 Thread Gibbs Tanton - tgibbs
Does anyone know why the following: use strict; use warnings; use constant I => 1; use constant I => 2; print I(); does not produce a warning about the redefinition of I? That is a real pain as I had about 60 constants and had one redefined and never knew it until it became a real pain to fix

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Michael Fowler
Anchorage, Alaska Yes, that's right, our igloos are wired. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Off-Topic (200%) - Where are you from?

2001-11-09 Thread Maxim Berlin
Hello, looks like i'm only one from Russia (Moscow) here... Best wishes, Maximmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Clinton
G'day from Melbourne, Australia. - Original Message - From: "Etienne Marcotte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 2:08 AM Subject: Off-Topic (200%) - Where are you from? > By reading the messages everyday I can guess most of us are from United

RE: CGI.pm Question

2001-11-09 Thread Curtis Poe
--- "Balint, Jess" <[EMAIL PROTECTED]> wrote: > Are there any downsides to not using the OO syntax? Not using the OO syntax can have some problems. First, you're importing the functions into your programs namespace. Consider: #!/usr/bin/perl -wT use strict; use CGI qw/:standard/;

Re[2]: [Socket] Question

2001-11-09 Thread Maxim Berlin
Hello RArul, Friday, November 09, 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Rnc> Thanks John. The purpose was not to send email. I was just trying to see if Rnc> I am able to do a conversation with some server using a socket, as I am just Rnc> learning to program a socket. well, try to

Re: SecureCRT + Perl

2001-11-09 Thread Dave Storrs
Ah. Ok, now I understand. Sorry, no experience with such things. Dave On Fri, 9 Nov 2001, A. Rivera wrote: > I'm talking about using scripts in the tradition of clients like Telemate, > Telix, ZOC. Where the script rests on the client side, and it is used to > interact with the remote sess

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Carol Stone
> -Original Message- > From: Johnson, Shaunn [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 09, 2001 4:30 PM > To: [EMAIL PROTECTED] > Subject: RE: Off-Topic (200%) - Where are you from? > > > --*heh* you rule, carol stone. > > --i'm still lurking and learning. i have a LONG way > t

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread jcowan
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify [EMAIL PROTECTED] ***

What was your first Perl script (was Off-Topic (200%) - Where areyou from?)

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Carol Stone wrote: > I'm pretty happy about this, I must admit. Congratulations! My first Perl script, from 1998 or 1999, was rather ambitious considering I knew very little about the language, was used to audit a database of documents and convert images associated with thos

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Johnson, Shaunn
--*heh* you rule, carol stone. --i'm still lurking and learning. i have a LONG way to go ... --oh ... i'm in Southfield, Mich. ... wish it were Phoenix, AZ ... i have a LONG way to go ... -X -Original Message- From: Carol Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 200

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Frank Newland
Opelika, Alabama.. North of Beauregard, East of Lochapoka, South of Buffalo, West of Bleecker -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 9:08 AM To: [EMAIL PROTECTED] Subject: Off-Topic (200%) - Where are you from? By reading t

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Carol Stone
> -Original Message- > From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 09, 2001 2:53 PM > To: Carol Stone > Cc: [EMAIL PROTECTED] > Subject: RE: Off-Topic (200%) - Where are you from? > > > On Fri, 9 Nov 2001, Carol Stone wrote: > > > Southbury, CT > > > > a

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Robert Thompson said: >I felt it would have been too obligatory if I had opened the e-mail >"Dear Mr. Pinyan," :) Heehee. :) Honestly, though, I'm only this good so that other people can be good. It does the Perl community no good to have a handful of illuminati -- if they become ina

RE: CGI.pm Question

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Balint, Jess said: >Are there any downsides to not using the OO syntax? Well, importing a bunch of functions does what's called "polluting a namespace". I puts a bunch of functions at your disposal, but at the price of... well, putting them there. You'd better make sure you don't alr

Re: simple code

2001-11-09 Thread John W. Krahn
Henry Hung-Yung Wang wrote: > > I have just written some codes, but they are not doing what I wanted them > to do. Here are the codes: > > @motif= ('ACGTACGT', '', 'CCGGCCGG', 'GGCCGGCC'); > > print "Please enter sequences to be examined:\n\n"; > $dna=; chomp $dna; > > @dna=split (//,

CPAN module

2001-11-09 Thread Joyce Harris
I have tried to use the CPAN module to install other modules on a SunOS 5.6. I get the error message: Can't exec "/usr/bin": Permission denied at /usr/local/lib/perl5/5.00502/sun4-solaris/IO/File.pm line 164. As far as I can tell /usr/bin is world-executable. Does anyone have an idea what the p

RE: CGI.pm Question

2001-11-09 Thread Balint, Jess
Are there any downsides to not using the OO syntax? -Original Message- From: Curtis Poe [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 2:40 PM To: [EMAIL PROTECTED]; Balint, Jess Cc: '[EMAIL PROTECTED]' Subject: Re: CGI.pm Question -- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Robert Thompson
> I knew Jeff would be the first one answering this one, too bad I could not bet on >this. I felt it would have been too obligatory if I had opened the e-mail "Dear Mr. Pinyan," :) > > You copied it incorrectly, or there is a typo in the book: You're right, I typed it wrong. I am learning ex

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread John W. Krahn
Etienne Marcotte wrote: > > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm from Quebec, Canada.. a

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread John Griessen
Austin Texas North of the river between Shoal Creek and bull Creek on a hill. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: installing modules

2001-11-09 Thread Dave Storrs
Since I suspect your next question would be "Ok, then how do I install the CPAN module?" let me head this one off. The CPAN module (CPAN.pm) comes with the basic distro of Perl, so you should already have it. Say you want to install the "CGI.pm" module from CPAN. At your command line, you typ

RE: [Socket] Question

2001-11-09 Thread RArul
Thanks John. The purpose was not to send email. I was just trying to see if I am able to do a conversation with some server using a socket, as I am just learning to program a socket. No I have not read RFC2821, but I am familiar with the basic SMTP commands. Thanks, Rex -Original Message

Re: SecureCRT + Perl

2001-11-09 Thread A. Rivera
I'm talking about using scripts in the tradition of clients like Telemate, Telix, ZOC. Where the script rests on the client side, and it is used to interact with the remote session. Here is an example Perl script from SecureCRT's website.. # $language = "PerlScript" # $interface = "1.0" # A si

Re: [Socket] Question

2001-11-09 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > Friends, > > I am trying to learn little bit of socket programming in Perl. I tried one > of the code snippet from Perl cookbook as a starting point. I am tring to > 'talk' to my SMTP mail server. You should probably use Net::SMTP. > But when I type HELO through th

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Michael Kelly
> San Diego, California, dude. Definitely a small world. Same here! Good ol' sunny San Diego where it's...foggy. -Michael Kelly Email: [EMAIL PROTECTED] The Web: http://www.jedimike.net > -Original Message- > From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 09

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread KeN ClarK
Athens, GA _ [EMAIL PROTECTED] http://quantifier.org _ There was a man who enjoyed playing golf, and could occasionallly put up with taking in a round with his wife. One time (with his wife along) he was having an extremely bad round. On the 12th

Re: SecureCRT + Perl

2001-11-09 Thread Dave Storrs
Um...not sure what you're asking for here. I use SecureCRT all the time (using it right now, in fact), and I do in fact write Perl while securely telnetted into various machines. What do you want to do? Dave On Thu, 8 Nov 2001, A. Rivera wrote: > Has anyone tried to use SecureCRT with Perl

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Etienne Marcotte
I knew Jeff would be the first one answering this one, too bad I could not bet on this. You're the regex master:-) Etienne Jeff 'japhy' Pinyan wrote: > > On Nov 9, Robert Thompson said: > > >I am looking at the "Insert comma's into a number" script in > >Oreily's Perl Cookbook (pg 64) and ha

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Robert Thompson said: >I am looking at the "Insert comma's into a number" script in >Oreily's Perl Cookbook (pg 64) and have some questions. The script (more >or less) is below followed by some output and questions: You copied it incorrectly, or there is a typo in the book: > $n

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Randal L. Schwartz
> "Christopher" == Christopher Solomon <[EMAIL PROTECTED]> writes: Christopher> But you must get to meet so many great people! I do, for a few hours at a time. It's hard to do more than get an interest in developing further contact before I get no more contact. :( Christopher> Is the cru

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Carol Stone wrote: > Southbury, CT > > and I *just* used Perl at work for the first time last night. Was it your first time to use Perl ever, or the first time you used Perl and got paid to do it? -- Brett http://www.chapelperil

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Agustin Bialet
Buenos Aires, Argentina -- I keep looking for the "Crash after viewing X pages" setting in Internet Explorer, but I just can't find it (yet!) ;-) >> - Original Message - >> From: Etienne Marcotte >> To: [EMAIL PROTECTED] >> Sent: Friday, November 09, 2001 12:08 PM >> Subject: Off-Topi

Re: printing lines chunk

2001-11-09 Thread A. Rivera
Try $line=~ s/(.{60})/$1\n/g; Agustin Rivera - Original Message - From: "Pedro A Reche Gallardo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 11:27 AM Subject: printing lines chunk > Hi All, I have a long line with no blank characte

Explanation of a Cookbook script and some further questions

2001-11-09 Thread Robert Thompson
Hello, I am looking at the "Insert comma's into a number" script in Oreily's Perl Cookbook (pg 64) and have some questions. The script (more or less) is below followed by some output and questions: #!/usr/bin/perl my $num = reverse $ARGV[0]; $num =~ s/([0-9]{3}

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Jerry Preston
Dallas, Texas Jerry Etienne Marcotte wrote: > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm from

printing lines chunk

2001-11-09 Thread Pedro A Reche Gallardo
Hi All, I have a long line with no blank characters and I would like to insert a return character every 60 characters. Any idea welcome. Regards Pedro *** PEDRO a. RECHE gallardo, pHDTL: 617 632 3824 Scientist, M

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Carol Stone
Southbury, CT and I *just* used Perl at work for the first time last night. -carol stone -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI.pm Question

2001-11-09 Thread Curtis Poe
-- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Nov 9, Balint, Jess said: > > >Hello all, I was wonder if there is a way to do this with less `$query->`'s. > >And yes, I know the table's not perfect. Any input would be appreciated. > >Thanks. > > Don't use the OO syntax then. > > use C

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Richard S. Crawford
Business travel sucks. I spent a week in Boston. Or so I'm told. Instead of seeing historic sites or meeting interesting people, I saw my hotel room, the convention room floor, and the street between them. I got to go to one restaurant that wasn't a chain restaurant, and I could see the Joh

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Christopher Solomon
On 9 Nov 2001, Randal L. Schwartz wrote: > > "Curtis" == Curtis Poe <[EMAIL PROTECTED]> writes: > > Curtis> I currently live in Portland, Oregon, USA. Recently moved > Curtis> back here from Amsterdam, the Netherlands and missing Europe > Curtis> more than I thought :( > > I own a home (tw

Re: CGI.pm Question

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Balint, Jess said: >Hello all, I was wonder if there is a way to do this with less `$query->`'s. >And yes, I know the table's not perfect. Any input would be appreciated. >Thanks. Don't use the OO syntax then. use CGI qw( :standard ); print start_form, start_table(...),

Re: To use MySQL or Postgresql database with perl project

2001-11-09 Thread Randal L. Schwartz
> "Mark" == Mark Crowe <[EMAIL PROTECTED]> writes: Mark> Also don't worry about it needing a 'simple database structure' - MySQL is a Mark> fully functional relational database program. That's debateable. Don't make me go there. Let's say something we can agree on: MySQL has a subset of S

Re: why does this loop not continue?

2001-11-09 Thread birgit kellner
--On Donnerstag, 08. November 2001 19:50 -0500 Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Nov 9, birgit kellner said: > >> for ($i = 0; $i < @inputarray; $i++) { > > You use $i here... > > And here. That's bad. > > Either use different variables, or explicitly scope them: > > for (

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Schoeneman, Carl
San Diego, California, dude. -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 7:08 AM To: [EMAIL PROTECTED] Subject: Off-Topic (200%) - Where are you from? By reading the messages everyday I can guess most of us are from United States r

CGI.pm Question

2001-11-09 Thread Balint, Jess
Hello all, I was wonder if there is a way to do this with less `$query->`'s. And yes, I know the table's not perfect. Any input would be appreciated. Thanks. ~Jess print $query->start_form, $query->start_table({-border=>undef}), $query->Tr({-align=>CENTE

RE: [Fwd: Off-Topic (200%) - Where are you from?]

2001-11-09 Thread Gibbs Tanton - tgibbs
I'm in Clemson, SC. It is nice weather here as well. -Original Message- From: Thomas S. Dixon Cc: perl Sent: 11/9/2001 1:11 PM Subject: Re: [Fwd: Off-Topic (200%) - Where are you from?] beautiful Charleston, SC where it's currently 70 degrees and sunny without a cloud in the sky!

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Randal L. Schwartz
> "Curtis" == Curtis Poe <[EMAIL PROTECTED]> writes: Curtis> I currently live in Portland, Oregon, USA. Recently moved Curtis> back here from Amsterdam, the Netherlands and missing Europe Curtis> more than I thought :( I own a home (two, actually) in Portland, Oregon, USA. But I live out o

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Pedapati, Bharani
Portland, Oregon. -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 11:07 AM To: Etienne Marcotte Cc: [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you from? On Fri, 9 Nov 2001, Etienne Marcotte wrote: > By reading the mess

Re: syntax @{ $records{$_} }

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, David Gilden said: >Could some explain what this is? > > @{ $records{$_} } > > is it a Array? %records is a hash $records{$_} is a value in the hash, which is apparently a REFERENCE to an array @{ $records{$_} } dereferences that value, and returns an array -- Jeff "japhy" Pin

Re: syntax @{ $records{$_} }

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, David Gilden wrote: > Could some explain what this is? > > @{ $records{$_} } $records{$_} contains a reference to an array. @{ $records{$_} } dereferences the array reference. You can use it as an array then. -- Brett http://www.c

Re: [Fwd: Off-Topic (200%) - Where are you from?]

2001-11-09 Thread Thomas S. Dixon
beautiful Charleston, SC where it's currently 70 degrees and sunny without a cloud in the sky! >>>By reading the messages everyday I can guess most of us are from United >>>States right? And since there are not a lot of messages in (my) morning time, >probably means most are from the west

syntax @{ $records{$_} }

2001-11-09 Thread David Gilden
Could some explain what this is? @{ $records{$_} } is it a Array? thanks! DAve ** * Cora Connection Your West African Music Source * * http://www.coraconnection.com/ * * Resources, Recordings, Instrum

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, Etienne Marcotte wrote: > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm from Qu

RE: To use MySQL or Postgresql database with perl project

2001-11-09 Thread Brett W. McCoy
On Fri, 9 Nov 2001, mark crowe (JIC) wrote: > Below is an edited version of the comparison between MySQL and PostgreSQL > from the MySQL 3.23 documentation. The general gist is that if you want > speed, use MySQL, if you want the specific advanced features, use > PostgreSQL. But either way, use D

Re: [Fwd: Off-Topic (200%) - Where are you from?]

2001-11-09 Thread Christopher Solomon
On Fri, 9 Nov 2001, Scott P wrote: > Madison, Wi. > > No way, really? I went to grad school in Madison before I moved out here (California) last year. I miss it, and am thinking of moving back there within a year or so. Chris > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Tyler Cruickshank
ah, what the hey ... Salt Lake City, UT - Greatest Snow on Earth. and no, Im not! >>> "Joyce Harris" <[EMAIL PROTECTED]> 11/09/01 11:57AM >>> Knoxville, Tennessee - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 1:47 PM Subject

[Fwd: Off-Topic (200%) - Where are you from?]

2001-11-09 Thread Scott P
Madison, Wi. --- Begin Message --- Rat's Mouth, Florida (commonly known as Boca Raton, but I live outside of Fort Lauderdale) Cheers, Kevin > > By reading the messages everyday I can guess most of us are from United > > States right? And since there are not a lot of messages in (my) morning

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Joyce Harris
Knoxville, Tennessee - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 1:47 PM Subject: RE: Off-Topic (200%) - Where are you from? > Winnipeg, MB, Canada > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands,

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Greg . Froese
Winnipeg, MB, Canada -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Tim Noll
from New York City, but currently living and working in London ... and today it's very cold here ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 4:21 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Off-T

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Curtis Poe
I currently live in Portland, Oregon, USA. Recently moved back here from Amsterdam, the Netherlands and missing Europe more than I thought :( Cheers, Curtis "Ovid" Poe = Senior Programmer Onsite! Technology (http://www.onsitetech.com/) "Ovid" on http://www.perlmonks.org/ _

  1   2   >