Re: Back to work on perl + gui + hebrew...thanks for that information

2015-01-12 Thread Martin Kaspar
thanks for that information great to hear that greetings to all of you matze On Tue, Jan 13, 2015 at 2:10 AM, Shawn H Corey wrote: > On Mon, 12 Jan 2015 15:23:53 +0200 > Shlomi Fish wrote: > > > Actually, Perl/Qt and Perl/KDE should also support Hebrew, > >

答复: mkdir in the mounted partition,pl ease help me,thanks

2009-11-18 Thread gaochong
-邮件原件- 发件人: Chris Charley [mailto:char...@pulsenet.com] 发送时间: 2009年11月19日 5:21 收件人: beginners@perl.org 主题: Re: mkdir in the mounted partition,please help me,thanks - Original Message - From: ""Chris Charley"" Newsgroups: perl.beginners To: Sent: Wednesda

Re: mkdir in the mounted partition,please h elp me,thanks

2009-11-18 Thread Chris Charley
- Original Message - From: ""Chris Charley"" Newsgroups: perl.beginners To: Sent: Wednesday, November 18, 2009 12:39 PM Subject: Re: mkdir in the mounted partition,please help me,thanks - Original Message - From: ""gaochong""

Re: mkdir in the mounted partition,please h elp me,thanks

2009-11-18 Thread Chris Charley
- Original Message - From: ""gaochong"" Newsgroups: perl.beginners To: Sent: Tuesday, November 17, 2009 6:41 AM Subject: mkdir in the mounted partition,please help me,thanks #!/usr/bin/perl -w #Auther:gaochong use strict; my @list = (3 .. 9);

答复: mkdir in the mounted partiti on£¬please help me£¬thanks

2009-11-17 Thread gaochong
> foreach my $fa (@FA) { > if (@list > 0 ) { > &mk_fa($fa); > } else { > @list = (3 .. 9); > &mk_fa($fa); > } Or simply: @list = 3 .. 9 unless @list; mk_fa( $fa ); YES,than

Re: mkdir in the mounted partition£¬please help me£¬thanks

2009-11-17 Thread John W. Krahn
gaochong wrote: #!/usr/bin/perl -w #Auther:gaochong use strict; my @list = (3 .. 9); my @FA=("FA0001".."FA2000"); sub mk_fa { my ($f) = @_; foreach my $p (@list) { mkdir "/data$p/NRU/$f",0755 or warn "mkdir /data$p/NRU/$f err:$!"; symlink

答复: 答复: mkdir in the mounted par tition,please help me,thanks

2009-11-17 Thread gaochong
I did not receive err msg . -邮件原件- 发件人: Dermot [mailto:paik...@googlemail.com] 发送时间: 2009年11月17日 20:16 收件人: beginners@perl.org 主题: Re: 答复: mkdir in the mounted partition,please help me,thanks 2009/11/17 gaochong : > but I have uses perl -w。 > any other problem ? Did you recei

Re: 答复: mkdir in the mounted partition,please help me,thanks

2009-11-17 Thread Dermot
2009/11/17 gaochong : > but I have uses perl -w。 > any other problem ? Did you receive and error message? Dp. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

答复: mkdir in the mounted partiti on,please help me,thanks

2009-11-17 Thread gaochong
but I have uses perl -w。 any other problem ? -邮件原件- 发件人: Dermot [mailto:paik...@googlemail.com] 发送时间: 2009年11月17日 19:53 收件人: beginners@perl.org 主题: Re: mkdir in the mounted partition,please help me,thanks 2009/11/17 gaochong : > #!/usr/bin/perl -w > > > > #Auther:gaoch

Re: mkdir in the mounted partition,please help me ,thanks

2009-11-17 Thread Dermot
2009/11/17 gaochong : > #!/usr/bin/perl -w > > > > #Auther:gaochong > > > > use strict; > > > > my @list = (3 .. 9); > > my @FA=("FA0001".."FA2000"); > > sub mk_fa { > >        my ($f) = @_; > >        foreach my $p (@list) { > >                mkdir "/data$p/NRU/$f",0755 or warn "mkdir /da

mkdir in the mounted partition,please h elp me,thanks

2009-11-17 Thread gaochong
#!/usr/bin/perl -w #Auther:gaochong use strict; my @list = (3 .. 9); my @FA=("FA0001".."FA2000"); sub mk_fa { my ($f) = @_; foreach my $p (@list) { mkdir "/data$p/NRU/$f",0755 or warn "mkdir /data$p/NRU/$f err:$!"; symlink "/

Thanks

2009-10-05 Thread Slick
Thanks to all guys.  Still trying to learn it.  Reading on the website I mentioned before (because I cannot practice at work)  I can, but I would just be entering it on notepad and not able to test it lol.  Just a lot of inforamtion.   I would be glad for any other tips and tricks that you

Re: Alpaca Chap5 Prob2 - Thanks

2009-05-21 Thread Thomas H. George
My face is red. Thanks for taking the time to find my elementary mistake. Tom -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: A Problem Using Hashes - Thanks

2009-05-03 Thread Randal L. Schwartz
> ""Thomas" == "Thomas H George" writes: "Thomas> I have learned a lot and really appreciate such quick and instructive "Thomas> responses. And if you have overall feedback about the book, I'm always curious so I can fold it into the next edition. -- Randal L. Schwartz - Stonehenge Consult

Re: A Problem Using Hashes - Thanks

2009-05-03 Thread Thomas H. George
Thanks for three very helpful answers. I see that my original problem was to focus on getting the variables correct and not paying attention to the data I was sending to them. The three answers I received went far beyond correcting that to point out other improvements and important programing

Re: Using array from subroutine - Thanks

2009-04-06 Thread Thomas H. George
. >> >> How should this be coded? > > use warnings; > use strict; > use Tk; > my @lines = open_file(); > > > sub open_file { > if ( open my $NEWFILE, '<', $file ) { > $message = "Open File" . $file; > return &l

RE: strange string match -- thanks

2009-02-15 Thread org chen
Dear Chas, Thanks so much, The problem fixed now. It has annoyed me for two days. Cheers Org > Date: Sun, 15 Feb 2009 20:56:51 -0500> Subject: Re: strange string match> > From: chas.ow...@gmail.com> To: org.c...@live.com.au> CC: beginners@perl.org> > > On Sun,

Re: reading and writing file names - thanks

2008-01-07 Thread Dale Mosby
Tom - Thanks for the pointer to storable. Think that is what I need for this current operation. And Chas - Thanks for the pointer to csv. I knew of it, though never used it. I did not know it would escape the delimiter, but of course that makes perfect sense! I think there is some author that is

Re: Hi everyone, who can tell me how to extract five texts on each side of an URI? Thanks

2006-11-08 Thread Bjørge Solli
ast, but it runs slowly. > > Can anybody tell me how to improve the running speed of this > > program? Thanks. > > Below is the Chakrabarti's article: > http://www.cs.berkeley.edu/~soumen/doc/www2002m/p336-chakrabarti.pdf If you give an example input url, the desired

Re: Hi everyone, who can tell me how to extract five texts on each side of an URI? Thanks

2006-11-08 Thread Jeff Pang
> > Recently, when I want to implement Chakrabarti's algorithm > >using Perl, I found it difficult for me to extract five texts on > >each side of an URL. > > No one can give helps unless he also know this special algorithm. -- Books below translated by me to Chinese. Practical mod_per

Hi everyone, who can tell me how to extract five texts on each side of an URI? Thanks

2006-11-08 Thread 辉 王
speed of this program? Thanks. Below is the Chakrabarti's article: http://www.cs.berkeley.edu/~soumen/doc/www2002m/p336-chakrabarti.pdf Good luck! Hui Wang - Mp3疯狂搜-新歌热歌高速下

Thanks for newbie answer

2006-07-17 Thread Rod Burgess
I appreciate all of your assistance with my eariler question. It is amazing how many different variations of Perl scripts that can be used to come up with the same results. The best part was showing my co-worker just what Perl can do. Thanks again. Rod -- To unsubscribe, e-mail: [EMAIL

Re: Is there any funny game that was written in Perl? Thanks.

2006-05-25 Thread Japerlh
Many thanks to all you guys. ... On 5/25/06, Paul Johnson <[EMAIL PROTECTED]> wrote: On Wed, May 24, 2006 at 05:18:46AM -0700, Leonid Grinberg wrote: > >What about frozen bubble? > > That was written in Perl? Really? http://www.oreillynet.com/o

Re: Is there any funny game that was written in Perl? Thanks.

2006-05-24 Thread Paul Johnson
On Wed, May 24, 2006 at 05:18:46AM -0700, Leonid Grinberg wrote: > >What about frozen bubble? > > That was written in Perl? Really? http://www.oreillynet.com/onlamp/blog/2006/04/people_of_perl_guillaume_cottenceau.html -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To uns

Re: Is there any funny game that was written in Perl? Thanks.

2006-05-24 Thread Leonid Grinberg
What about frozen bubble? That was written in Perl? Really? -- Leonid Grinberg [EMAIL PROTECTED] http://www.lgrinberg.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is there any funny game that was written in Perl? Thanks.

2006-05-24 Thread Dani Pardo
What about frozen bubble? http://www.frozen-bubble.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Is there any funny game that was written in Perl? Thanks.

2006-05-24 Thread Japerlh
Thanks. -- Besh wishes, Japerlh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: What are the most successful applications of Perl? Thanks.

2006-05-24 Thread Octavian Rasnita
Can you tell us why Java is better than mod_perl? Thanks. Teddy - Original Message - From: "Jeff Pang" <[EMAIL PROTECTED]> To: "beginners" Sent: Wednesday, May 24, 2006 4:32 AM Subject: Re: What are the most successful applications of Perl? Thanks. > For

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Leonid Grinberg
SLASHDOT!!! Amazing that this has not yet been mentioned! -- Leonid Grinberg [EMAIL PROTECTED] http://www.lgrinberg.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Chad Perrin
On Wed, May 24, 2006 at 09:32:58AM +0800, Jeff Pang wrote: > For web application,I think Java is more excellent than Perl or mod_perl. 1. I think that server-side Java for web development is one of the supidest ideas I've ever heard. Here's a language for which one of the top three reasons it ex

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Jeff Pang
is implemented with mod_perl,it seems good too. -Original Message- >From: Anthony Ettinger <[EMAIL PROTECTED]> >Sent: May 24, 2006 8:35 AM >To: Dave Day <[EMAIL PROTECTED]> >Cc: Japerlh <[EMAIL PROTECTED]>, beginners >Subject: Re: What are the most succ

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Anthony Ettinger
...course everybody uses perl here and there for batch processing :) On 5/23/06, Anthony Ettinger <[EMAIL PROTECTED]> wrote: ebay.com started out as a perl, but it's been revamped as java for a few years now. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- Anthony E

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Anthony Ettinger
ebay.com started out as a perl, but it's been revamped as java for a few years now. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Dave Day
How about Amazon.com and Ebay.com??? Dave - Original Message - From: "Japerlh" <[EMAIL PROTECTED]> To: "beginners" Sent: Tuesday, May 23, 2006 7:41 AM Subject: What are the most successful applications of Perl? Thanks. What are the most successful ap

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Jeremy Vinding
JupiterHost.Net wrote: I also have advanced knowldge of a certain companie's 10th anniversary celebration that involves releasing an up till now internal/private Perl based system for general use. I can't elaborate or they'd have to kill me but all I can say is, I can't freaking wait to be ab

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Anthony Ettinger
On 5/23/06, John W. Krahn <[EMAIL PROTECTED]> wrote: Japerlh wrote: > What are the most successful applications of Perl? http://www.oreillynet.com/pub/a/oreilly/perl/news/success_stories.html movable type is one that I know of off hand. -- Anthony Ettinger Signature: http://chovy.dyndns.org/

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread John W. Krahn
Japerlh wrote: > What are the most successful applications of Perl? http://www.oreillynet.com/pub/a/oreilly/perl/news/success_stories.html John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread JupiterHost.Net
Can you point it out to us after their 10th anniversary? Sure, be happy to :) Hmmm, I wonder. Could it be something from CPAN? No, a company has a "product" they made and use and it is saaaweeet, on theri 10th anniversay they'll release it for public use. Any more detaisl and the helicopt

RE: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Ryan Frantz
> -Original Message- > From: Joshua Colson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 23, 2006 1:34 PM > To: JupiterHost.Net > Cc: beginners > Subject: Re: What are the most successful applications of Perl? Thanks. > > On Tue, 2006-05-23 at 10:33 -050

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Joshua Colson
On Tue, 2006-05-23 at 10:33 -0500, JupiterHost.Net wrote: > I also have advanced knowldge of a certain companie's 10th anniversary > celebration that involves releasing an up till now internal/private Perl > based system for general use. > > I can't elaborate or they'd have to kill me but all I

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread JupiterHost.Net
Japerlh wrote: What are the most successful applications of Perl? A few that I consider "successful": cPanel - cpanel.net apple.com amazon.com The navy uses perl to "synchronize watches": http://tycho.usno.navy.mil/cgi-bin/timer.pl A few of our higher end communications clients use

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread M Senthil Kumar
On Tue, 23 May 2006, Japerlh wrote: |What are the most successful applications of Perl? |Thanks. [snipped] Hi, Have a look at this page: http://bioperl.org/wiki/How_Perl_saved_human_genome written by Dr. Lincoln Stein. Regards, Senthil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Jeff Pang
I'm working on email system,I know lots of mail applications are implemented with Perl.For example,everyone.net,postmaster.co.uk... are developed under Perl.And,the famous opensources site,slashdot.org,is drived by mod_perl. > >What are the most successful applications of Pe

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Bjørge Solli
On Tuesday 23 May 2006 13:41, Japerlh wrote: > What are the most successful applications of Perl? You don't define /successful/. How well you succeed depends on what your goal is... -- Bjørge Solli - Office:+47 55205847 http://www.nersc.no Nansen Environmental and Remote Sensing Center - Bergen

What are the most successful applications of Perl? Thanks.

2006-05-23 Thread Japerlh
What are the most successful applications of Perl? Thanks. -- Besh wishes, Japerlh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Help With signals. Got it working Thanks.

2006-01-06 Thread Leif Ericksen
ame (split(' ', $Config{sig_name})) { >next if $name eq 'ZERO'; > $signos{$name} = $i; >$signames[$i] = $name; >print "$name:$i \t => SIG{$name} = \&sigcat\n"; >$SIG{$name}=\&sigcat; >$i++; > } > > {} whi

Re: help slurping a file-- Solved -- Thanks for responses

2005-10-28 Thread Xavier Noria
On Oct 28, 2005, at 15:29, Renee Halbrook wrote: In Mac OS X the newline is \012 and that is what "\n" is eq to. I was told in MacPerl (for MacOS pre X) the underlying codes of \n and \r were switched (wrt to the rest of platforms), but still \n is the logical newline everywhere. --The specs

Re: help slurping a file-- Solved -- Thanks for responses

2005-10-28 Thread Renee Halbrook
> In Mac OS X the newline is \012 and that is what "\n" is eq to. I was > told in MacPerl (for MacOS pre X) the underlying codes of \n and \r > were switched (wrt to the rest of platforms), but still \n is the > logical newline everywhere. --The specs the file was created from: Filemaker versi

Re: help slurping a file-- Solved -- Thanks for responses

2005-10-28 Thread Xavier Noria
On Oct 28, 2005, at 15:09, Jeff 'japhy' Pinyan wrote: On Oct 28, Renee Halbrook said: My perl interpreter display does not recognize "\r" for a newline character for standard out, so it simply printed the same line over on top of the previous line, making it look like it was only reading o

Re: help slurping a file-- Solved -- Thanks for responses

2005-10-28 Thread Jeff 'japhy' Pinyan
On Oct 28, Renee Halbrook said: My perl interpreter display does not recognize "\r" for a newline character for standard out, so it simply printed the same line over on top of the previous line, making it look like it was only reading one line total. The slurping was working fine, but the displa

Re: help slurping a file-- Solved -- Thanks for responses

2005-10-28 Thread Renee Halbrook
Hi, Thanks for responding to my email. It looks like I had a typo in my explanation of the slurping problem. Thanks for catching that. Actually, I had the correct input field separator in my code, and simply miswrote it in my explanation. The perldoc is always a good place to start. I was using

thanks

2005-03-08 Thread eva . horn
Thanks everybody... The support was great!!! Regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: while(1){print "a"; sleep 1;} -my thanks

2005-02-09 Thread TapasranjanMohapatra
x27;s printed with the code below? Apparently it's an output buffering issue. If you flush output, it works: $ perl -e 'while(1){print"a";sleep 1}' ^C $ perl -e '$|=1;while(1){print"a";sleep 1}' aaa^C $ So, setting $| to 1 seems to fix the

Thanks (was -> Re: Reading input and Word completion)

2004-09-13 Thread Manish
Hi Chris, Thanks for pointing out the case! The page I was looling at documented this as lowercase "complete". However I see that some other manpages have the correct version - "Complete". Fixing the case does the job. Thanks much for pointing this out. best regard

RE: Efficient Untaint? - Thanks.

2004-07-17 Thread Jeff 'japhy' Pinyan
On Jul 17, Kent, Mr. John (Contractor) said: >>As for your code: >> >>> my($MOSAIC_SCALE)= $query->param('MOSAIC_SCALE')|| "20"; >>>{$MOSAIC_SCALE =~ /(\d+)/; >>> $MOSAIC_SCALE = $1; >> >>You should *never* use $DIGIT variables after a regex unless you're sure >>the regex *matche

RE: Efficient Untaint? - Thanks.

2004-07-17 Thread Kent, Mr. John \(Contractor\)
Thank you Jeff, Very nice. I will give it a try. (In some cases I know the values will be digits). John Kent -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Saturday, July 17, 2004 10:34 AM To: Kent, Mr. John (Contractor) Cc: [EMAIL PROTECTED] Subject: Re: E

Re: Thanks a Ton..Mr Gunnar..

2004-07-16 Thread Gunnar Hjalmarsson
Sunish Kapoor wrote: Dear Mr Gunnar, Thanks a million..it works great now You're welcome, glad it works. Thank you so much for your prompt support via email The best way to thank me, and bring additional value to this community, is to post an updated script including "use strict;&

Thanks a Ton..Mr Gunnar..

2004-07-16 Thread Sunish Kapoor
Dear Mr Gunnar, Thanks a million..it works great now Thank you so much for your prompt support via email Regards Sunish Kapoor Muscat, Oman - Original Message - From: "Gunnar Hjalmarsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 16, 20

All Email problems are now resolved (Thanks for your efforts!)

2004-07-06 Thread jason corbett
I was able to narrow down the problem and fix the code. I apologize if I took your time away from other trouble shooting tasks. I am still recovering from alchohol and Barb-B-Que!!! Good day!

beginner needs help...thanks

2004-04-27 Thread William Kolln
Can Anyone Help...thanks if you can! I have an array called group_vals. I want to be able to return conditional statements according to the results after searching the array. I need it to go something like this: ## search array group_vals (optional) split the array in

PHP vs PERL - thanks

2004-04-22 Thread peery
Got a lot of good info, thanks to all that replied. JP -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: backticks and variable assignment - thanks

2004-03-23 Thread WC -Sx- Jones
[EMAIL PROTECTED] wrote: this does have to run on multiple servers so that is a concern, but all servers are identical in everyway This is where Yoda sez: "So sure are you?" -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian --

Re: backticks and variable assignment - thanks

2004-03-23 Thread jeffrey_n_Dyke
p stop -d $env`; > $body .= $stop_cmd; > sleep 60; > $start_cmd = `./psadmin -p start -d $env`; > > the calls to the psadmin script prints to the shell and don't get > assigned > to the variable. but they work exactly as expected. Is there a >

Re: sockets on an HPUX (thanks for the port scanner!)

2004-01-09 Thread Goffredo Saffioti
McMahon, Chris ha scritto: Thank you Mr. Saffioti for the port-scanning code. I have been playing with some simple network programming scripts recently and your code below is much more elegant than mine. I'll be stealing parts of it very soon! =) -Chris maybe u can better apprecia

RE: sockets on an HPUX (thanks for the port scanner!)

2004-01-09 Thread McMahon, Chris
HPUX 11.0 system? I am in need of this! I have looked into system >calls such as mknod and mkfifo and these are not capable of creating these >special files. > >Thanks! > >Derek B. Smith >OhioHealth IT >UNIX / TSM / EDM Teams > > > > This is a socket in

Re: Please help me! Thanks.

2003-12-17 Thread drieux
On Dec 17, 2003, at 9:36 AM, Randal L. Schwartz wrote: "Drieux" == Drieux <[EMAIL PROTECTED]> writes: Drieux> neat solution, minor problem is that Math::Fraction Drieux> is not a 'default' module yet. And if that's a problem for you, you aren't using Perl properly yet. could well be. help clarify

Re: Please help me! Thanks.

2003-12-17 Thread Randal L. Schwartz
> "Drieux" == Drieux <[EMAIL PROTECTED]> writes: Drieux> neat solution, minor problem is that Math::Fraction Drieux> is not a 'default' module yet. And if that's a problem for you, you aren't using Perl properly yet. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777

Re: Please help me! Thanks.

2003-12-16 Thread Rob Dixon
R. Joseph Newton wrote: > > Rob Dixon wrote: > > > > It's also worth pointing out here that rational values are almost always what is > > wanted in this sort of situation. > > > > The (very nice indeed) Math::Fraction module lets you do just this. The only > > changes to the code are to initialise

Re: Please help me! Thanks.

2003-12-16 Thread R. Joseph Newton
Rob Dixon wrote: > Hacksaw wrote: > > > > > now, a stupid solution is: > > > > > > for (my $value = -1000; $value <= 1000; $value += 100) { > > > print $value/1000, "\n"; > > > } > > > > > > hehe, > > > > > > > Sadly, it's not as stupid as you think. Unless I misunderstand things, what > >

Re: Please help me! Thanks.

2003-12-16 Thread drieux
On Dec 16, 2003, at 7:16 AM, Rob Dixon wrote: [..] Rob use strict; use warnings; use Math::Fraction; for (my $value = frac -1; $value <= 1; $value += 0.1) { print $value->decimal, "\n"; } [..] neat solution, minor problem is that Math::Fraction is not a 'default' module yet.

Re: Please help me! Thanks.

2003-12-16 Thread Rob Dixon
Hacksaw wrote: > > > now, a stupid solution is: > > > > for (my $value = -1000; $value <= 1000; $value += 100) { > > print $value/1000, "\n"; > > } > > > > hehe, > > > > Sadly, it's not as stupid as you think. Unless I misunderstand things, what > you are seeing here is a problem called IEE

Re: Please help me! Thanks.

2003-12-16 Thread R. Joseph Newton
Paul Johnson wrote: > On Tue, Dec 16, 2003 at 02:25:42PM +0800, pagoda wrote: > > > now, a stupid solution is: > > > > for (my $value = -1000; $value <= 1000; $value += 100) { > > print $value/1000, "\n"; > > } > > > > hehe, > > Not so stupid, really. If you can keep most of your maths co

Re: Please help me! Thanks.

2003-12-16 Thread Mr M senthil kumar
On Tue, 16 Dec 2003, pagoda wrote: > > for (my $value = -1; $value <= 1; $value += 0.1) { > print "$value\n"; > } Hi, I don't know if it might be helpful, but the following code works better: for ($value = -1; $value <= 1; $value += 0.1) { printf ("%.1f\n",$value); } This p

RE: Please help me! Thanks.

2003-12-15 Thread Charles K. Clarkson
pagoda <[EMAIL PROTECTED]> wrote: : Take a look at the first question in perlfaq4: Why am I getting long decimals (eg, 19.94999) instead of the numbers I should be getting (eg, 19.95)? HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists

Re: Please help me! Thanks.

2003-12-15 Thread Paul Johnson
On Tue, Dec 16, 2003 at 02:25:42PM +0800, pagoda wrote: > now, a stupid solution is: > > for (my $value = -1000; $value <= 1000; $value += 100) { > print $value/1000, "\n"; > } > > hehe, Not so stupid, really. If you can keep most of your maths confined to integers you will have fewer

Re: Please help me! Thanks.

2003-12-15 Thread Hacksaw
> now, a stupid solution is: > > for (my $value = -1000; $value <= 1000; $value += 100) { > print $value/1000, "\n"; > } > > hehe, > Sadly, it's not as stupid as you think. Unless I misunderstand things, what you are seeing here is a problem called IEEE 754 floating point. I'm sure th

Re: Please help me! Thanks.

2003-12-15 Thread pagoda
mber 16, 2003 1:54 PM Subject: Please help me! Thanks. > > for (my $value = -1; $value <= 1; $value += 0.1) { > print "$value\n"; > } > > The result is as following: > > -1 > -0.9 > -0.8 > -0.7 > -0.6 > -0.5 > -0.4 > -0.3 > -0

Please help me! Thanks.

2003-12-15 Thread pagoda
for (my $value = -1; $value <= 1; $value += 0.1) { print "$value\n"; } The result is as following: -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 -1.38777878078145e-16 0.0999 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 But what I wanted is: -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2

Re: fixed width variable -Thanks

2003-12-01 Thread Jeff Tillotson
Thanks for everyone's quick response to my query. regards, Jeff Jeff Tillotson wrote: Greetings, I have been searching for a way to do this and have not had any luck. I am using localtime() to determine the day of the month. I need to make sure the variable it returns will always be 2 d

RE: problem with date routine THANKS!!

2003-10-02 Thread perlwannabe
Thank you for all of the responses to my date/time problem. I have rewritten the routine with the information and feel confident it is far, far better than what I had. Thanks... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Thanks]: Re: Objects, threads and so on

2003-10-01 Thread R. Joseph Newton
david wrote: > Fernando wants to send the following thanks to all people who helped him on > this topic and some explanation of what he really wants to do. He somehow > sent it to myself only. > > #- forward message started -# > > Hello all, > OK,

[Thanks]: Re: Objects, threads and so on

2003-09-30 Thread david
Fernando wants to send the following thanks to all people who helped him on this topic and some explanation of what he really wants to do. He somehow sent it to myself only. #- forward message started -# Hello all, Thank you all for your attention. I'll answer her

Fixed Problems... Thanks Everyone!

2003-09-04 Thread LoneWolf
John, thanks for the heads-up, I saw the errors and modified the lines. For anyone wanting to do this on their own system... sub cleanup{ use strict; my $dirname = "/home/data"; my $file; my $newfile; my $line; opendir (DIR, $dirname) or

Re: Thanks and another quick Q, how to unconcatenate...

2003-09-04 Thread John W. Krahn
Lonewolf wrote: > > Thanks for everyone's help with this one, I was stuck and knew I was missing > something simple.. UGH. perldoc -q replace didn't turn me up with anything > either, which was a bummer, but going off the code posted here I was able to > do more wit

RE: Thanks and another quick Q, how to unconcatenate...

2003-09-04 Thread Akens, Anthony
2003 2:23 PM To: [EMAIL PROTECTED] Subject: Thanks and another quick Q, how to unconcatenate... Thanks for everyone's help with this one, I was stuck and knew I was missing something simple.. UGH. perldoc -q replace didn't turn me up with anything either, which was a bummer, but going

Thanks and another quick Q, how to unconcatenate...

2003-09-04 Thread LoneWolf
Thanks for everyone's help with this one, I was stuck and knew I was missing something simple.. UGH. perldoc -q replace didn't turn me up with anything either, which was a bummer, but going off the code posted here I was able to do more with it. This is w

RE: Socket Problem (I got the answer) Thanks

2003-07-15 Thread Pandey Rajeev-A19514
Hi , I got the answer Thanks Please ignore the previous mail from me rgds rajeev -Original Message- From: Pandey Rajeev-A19514 Sent: Tuesday, July 15, 2003 3:20 PM To: [EMAIL PROTECTED] Subject: Socket Problem Hi, I have a problem with sockets that goes like this.. I want to create

Thanks George, Rob Re: looping script

2003-07-03 Thread Clinton
It works now. Thanks for the help Regards Clinton

Re: While loop, confused... - Thanks!

2003-07-03 Thread Bill Akins
Thank you all for your responses!! I finally have a handle on it and used a little of everyones suggestions. This list rocks because of people like you. Thanks again!

Thanks!! RE: TCP/IP question

2003-07-02 Thread McMahon, Christopher x66156
Thanks to all who answered! I don't need for this process to fork (yet!), but thanks for the pointers. I thought I was reading for new messages from the same client, but instead I was looking for a new client while hanging on my first client. I was missing a whole level o

RE: thanks for the help last time, could you help me again

2003-03-24 Thread Dan Muey
> Hi Dan Howdy, please post Perl questions to the list so we can all enjoy. > > I have this script that is not working as it should be. this > is what it is > supposed to be doing, take images from a directory (images > are coming from > camera) and renames them with the date and time of ima

Thanks!!! Re: Urgent: How do I find real file instead of link

2003-03-19 Thread Ohad Ohad
From: david <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Urgent: How do I find real file instead of link Date: Wed, 19 Mar 2003 10:08:01 -0800 Ohad Ohad wrote: > I have a link and want the real file that it is pointing to. > > This means also if I have a lin

Help with File Handle --thanks

2003-03-05 Thread Smith Jeff D
file on top of itself is a fatal error. end of quoted documentation So I thought that using a FileHandle was permissible as a move, copy or cp command. I wasn't trying to write to another File Handle so it looked "acceptable". I will forego this approach and close my log file, and use Net::FTP or File::Copy against the files created. Thanks all. Jeff Smith -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Thanks for the array tips

2003-02-19 Thread Rob Trahan
Jeez, you guys are serious about helping folks out!! Thank you all very much. When I have some time tonight I study the examples you provided. Very impressive! Thanks again, Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

command line ok now thanks

2003-01-07 Thread Patricia Hinman
I'm not sure what I did to fix it. I took out a call to a file (not a directory) from the path variable. Now all is fine. Thankyou for responding. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.co

Thanks, Bob Showalter! (glob question)

2002-12-31 Thread David Eason
Thanks for your suggestions on the glob / join simplification question. And yes, Win32 is the reason I don't have shell globbing. Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Thanks

2002-12-18 Thread Rob Dixon
And I would graciously accept your thanks if I have been of help ;-} Happy Christmas, Rob - Original Message - From: "Thomas Browner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 8:34 PM Subject: Thanks > I would like tha

RE: Thanks

2002-12-18 Thread Paul Kraus
Yes. Honestly this list rocks! > -Original Message- > From: Thomas Browner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 3:35 PM > To: [EMAIL PROTECTED] > Subject: Thanks > > > I would like thank all the people on this list that has been

Thanks

2002-12-18 Thread Thomas Browner
I would like thank all the people on this list that has been help. Thomas

Thanks for the help: query a ph nameserver plus backtick question

2002-12-03 Thread Brian Engleton
Thank you to everyone who helped out with my questions and directing me to the proper references. Thanks Matt for the pipe tip too. brian > > Are backticks bad, and if so what are the alternatives if I need to > return information to a variable? They're not as "cross plat

  1   2   >