CYGWIN Uninstall

2006-12-08 Thread Charith Hettige
Hi All, I am having trouble uninstalling the current Cygwin installation. Since there doesn't seem to be an entry in Add/Remove of windows. Please be kind enough to help me with this. My installation was not a successful installation and I need to remove and reinstall Also if anyone can

Re: CYGWIN Uninstall

2006-12-08 Thread Adriano Ferreira
On 12/8/06, Charith Hettige [EMAIL PROTECTED] wrote: Hi All, I am having trouble uninstalling the current Cygwin installation. Since there doesn't seem to be an entry in Add/Remove of windows. Please be kind enough to help me with this. This list is not about Cygwin. We may be interested in

RE: Line ending with Gary^M on UNIX

2006-12-08 Thread Moon, John
Thank you to all... jwm -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Line ending with Gary^M on UNIX

2006-12-08 Thread Xavier Noria
This article explains how this works and has this and other tricks: http://www.onlamp.com/pub/a/onlamp/2006/08/17/understanding- newlines.html -- fxn PS: I am in fact the author but that is irrelevant. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Why is this not working?

2006-12-08 Thread Mathew
John W. Krahn wrote: Mathew Snyder wrote: Code snippet at the end of my little script: more code ... my $count; foreach my $email (@emails){ print $email, \n; $count += 1; }; if ($count 0){ print \n . count = . $count . \n; } else{ print count = 0;

Re: Why is this not working?

2006-12-08 Thread Rob Dixon
Mathew Snyder wrote: Code snippet at the end of my little script: more code ... my $count; foreach my $email (@emails){ print $email, \n; $count += 1; }; if ($count 0){ print \n . count = . $count . \n; } else{ print count = 0; }; exit; I've declared $count

return 1

2006-12-08 Thread Derek B. Smith
Why is return 1 coded at the end of many programs. For example: I know it means true but what does this do and why? thank you derek #!/usr/bin/perl #use strict; my $user_name = qq(dsmithxx); my $user_password = qq(); my $sql_server = qq(x); my ($dbh,$drh,$stmt); local

Re: return 1

2006-12-08 Thread Jeff Pang
Why is return 1 coded at the end of many programs. For example: I know it means true but what does this do and why? This is because it's mostly 'require' d by other scripts then you may need to add '1' at the end. If this script is required by other scripts,but its last statement doesn't

Re: return 1

2006-12-08 Thread Jay Savage
On 12/8/06, Derek B. Smith [EMAIL PROTECTED] wrote: Why is return 1 coded at the end of many programs. For example: I know it means true but what does this do and why? Derek, For historical reasons, the final statement of any script that is imported with use or require (and possibly do?)

Re: return 1

2006-12-08 Thread Derek B. Smith
--- Jay Savage [EMAIL PROTECTED] wrote: On 12/8/06, Derek B. Smith [EMAIL PROTECTED] wrote: Why is return 1 coded at the end of many programs. For example: I know it means true but what does this do and why? Derek, For historical reasons, the final statement of any script that

Perl tree script

2006-12-08 Thread stic
Hello this is first time i`m writing here so sorry for stupid questions or so. I need to make a program wich will list the directories and subdirectories. I find something like that here on this mailing list and i have changed it for my own needs. but now a have this problem: i want to print

The fork command

2006-12-08 Thread Dukelow, Don
I'm using the fork command for the first time, and can't find one simple expiation of it. I know it's not simple, but every index I look it up in has many references all through the book about it. Is there a web page or white paper someplace that could give me one place to look to get

Re: return 1

2006-12-08 Thread JupiterHost.Net
Derek B. Smith wrote: Why is return 1 coded at the end of many programs. For example: I know it means true but what does this do and why? thank you derek #!/usr/bin/perl #use strict; my $user_name = qq(dsmithxx); my $user_password = qq(); my $sql_server = qq(x); my

Re: Perl tree script

2006-12-08 Thread John W. Krahn
stic wrote: Hello Hello, this is first time i`m writing here so sorry for stupid questions or so. I need to make a program wich will list the directories and subdirectories. I find something like that here on this mailing list and i have changed it for my own needs. but now a have this

Re: The fork command

2006-12-08 Thread John W. Krahn
Dukelow, Don wrote: I'm using the fork command for the first time, and can't find one simple expiation of it. I know it's not simple, but every index I look it up in has many references all through the book about it. Is there a web page or white paper someplace that could give me one

Re: The fork command

2006-12-08 Thread Travis Thornhill
If you're using some flavor of unix, executing 'perldoc perlfork' on the command line is a good place to get started. The books Programming Perl, and Perl Cookbook have good information on how to get rolling with fork. - Travis Dukelow, Don [EMAIL PROTECTED] wrote: I'm using the

Re: Email::Address Segmentation Fault

2006-12-08 Thread Mathew Snyder
Rob Dixon wrote: Mathew Snyder wrote: I can't seem to get this working. Every time I try to run it segfaults on me. I've removed it from my code and reverted to the stage I was at before I added it and my script worked exactly as it did before I put it in. I've installed it via both

Re: The fork command

2006-12-08 Thread Jeff Pang
-Original Message- From: Dukelow, Don [EMAIL PROTECTED] Sent: Dec 9, 2006 4:24 AM To: beginners@perl.org Subject: The fork command I'm using the fork command for the first time, and can't find one simple expiation of it. I know it's not simple, but every index I look it up in has

[Fwd: Re: Email::Address Segmentation Fault]

2006-12-08 Thread Mathew Snyder
Rob Dixon wrote: Mathew Snyder wrote: I can't seem to get this working. Every time I try to run it segfaults on me. I've removed it from my code and reverted to the stage I was at before I added it and my script worked exactly as it did before I put it in. I've installed it via both