Fw: how to recursion

2017-03-29 Thread Shlomi Fish
Forwarding to the list. Begin forwarded message: Date: Wed, 29 Mar 2017 11:32:08 -0400 From: Shawn H Corey To: Shlomi Fish Subject: Re: how to recursion On Wed, 29 Mar 2017 17:22:36 +0300 Shlomi Fish wrote: >

Re: FW: Question about Beginning Perl by Simon Cozens

2016-09-01 Thread Neil Hainer
Mike, Do what's best for you and enjoy Simon's Cozens book. I always liked the way he wrote as well. On Thu, Sep 1, 2016 at 1:49 PM, Walker, Michael E < michael.e.walk...@boeing.com> wrote: > > > > > *From:* Walker, Michael E > *Sent:* Thursday, September 01, 2016 12:47 PM > *To:* 'Aaron

FW: Question about Beginning Perl by Simon Cozens

2016-09-01 Thread Walker, Michael E
From: Walker, Michael E Sent: Thursday, September 01, 2016 12:47 PM To: 'Aaron Wells' Subject: RE: Question about Beginning Perl by Simon Cozens Thank you all for sharing your perspective on this. I will compare both the first and second editions of Beginning Perl. Cozens’ writing style really

Fwd: Fw: Perl array question

2015-05-06 Thread Shlomi Fish
-- Forwarded message -- From: Shlomi Fish shlo...@shlomifish.org Date: Wed, May 6, 2015 at 11:31 AM Subject: Fw: Perl array question To: shlo...@gmail.com Begin forwarded message: Date: Wed, 6 May 2015 11:04:30 +0300 From: Shlomi Fish shlo...@shlomifish.org To: beginners

Fwd: Fw: Perl array question

2015-05-06 Thread Shlomi Fish
-- Forwarded message -- From: Shlomi Fish shlo...@shlomifish.org Date: Wed, May 6, 2015 at 11:31 AM Subject: Fw: Perl array question To: shlo...@gmail.com Begin forwarded message: Date: Wed, 6 May 2015 11:04:30 +0300 From: Shlomi Fish shlo...@shlomifish.org To: beginners

Fw: use perl format data

2015-02-09 Thread Shlomi Fish
Dear Prasanth, next time please reply to the list. I'm going to comment on your code after this forwarded message arrives at the list. Regards, Shlomi Fish Begin forwarded message: Date: Tue, 10 Feb 2015 11:01:56 +0530 From: prasanth prasanthne...@gmail.com To: Shlomi Fish

FW: Failed: PAUSE indexer report JUNIPER/Net-Netconf-0.01.zip

2014-06-02 Thread Priyal Jain
Hello, I am uploading my module Net::Netconf, after making changes in cpan. But it is giving below error. I cross checked my module and it is complete and has all the dependency, do not know why it is giving this error. Please help as soon as possible. Thanks Regards Priyal -Original

Fw: perl Gtk2 install and makemaker install

2013-10-31 Thread Shlomi Fish
Begin forwarded message: Date: Wed, 30 Oct 2013 11:18:58 -0700 From: D.Edmons dedm...@comcast.net To: Shlomi Fish shlo...@shlomifish.org Subject: Re: perl Gtk2 install and makemaker install I tend to hand-crank mine. My preferred distro was SourceMage for that reason (I was a developer

FW: cpan App::cpanminus

2013-07-22 Thread Rohit Soni
Dear All, I am a beginner and just wanted to ask that which Module(s) should I start with. On the Perl installation page, it has been written that you need to install the modules by running the command cpan App::cpanminus While running I am getting the error as. CPAN: CPAN::SQLite

Fw: Please exempt the book Modern Perl from Web Commercials on http://perl-begin.org/

2013-06-26 Thread Shlomi Fish
Hi Franklin: 1. Please don't start a new thread by replying to an existing message: 2. Please send a new message to the list - beginners@perl.org . You sent it only to me. Regards, Shlomi Fish Begin forwarded message: Date: Wed, 26 Jun 2013 14:32:39 +0530 From: Franklin Lawerence

Re: Fw: Please exempt the book Modern Perl from Web Commercials on http://perl-begin.org/

2013-06-26 Thread Rob Dixon
On 26/06/2013 10:18, Franklin Lawerence wrote: Hi, Could you please let me know how to reverse a string without using built in function. Hi Franklin Is this homework? I can think of no other reason to need what you are asking for. It is best to say if you are asking for help with

Re: Fw: Please exempt the book Modern Perl from Web Commercials on http://perl-begin.org/

2013-06-26 Thread Frank Vino
Dear All, Could you please recommend good beginners book to start, and also looking for videos. Thanks, Vino On Wed, Jun 26, 2013 at 4:30 PM, Rob Dixon rob.di...@gmx.com wrote: On 26/06/2013 10:18, Franklin Lawerence wrote: Hi, Could you please let me know how to reverse a string

FW: wisma laili

2013-06-19 Thread wisma laili
hello! http://sphram.ru/gaws/khyl/osrkp/trli.html wisma laili

Fw: Who instantiated an object

2013-06-03 Thread Shlomi Fish
Begin forwarded message: Date: Mon, 3 Jun 2013 08:22:13 +0100 From: John Delacour johndelac...@gmail.com To: Shlomi Fish shlo...@shlomifish.org Subject: Re: Who instantiated an object On 1/6/13 at 11:57, shlo...@shlomifish.org (Shlomi Fish) wrote: These links got broken due to

Fw: make and Makefile.PL

2013-05-28 Thread Shlomi Fish
Hi Ray, please reply to all recipients. Regards, Shlomi Fish Begin forwarded message: Date: Tue, 28 May 2013 09:49:48 +0100 From: Rahim Fakir rahim.g.fa...@gmail.com To: Shlomi Fish shlo...@shlomifish.org Subject: Re: make and Makefile.PL Hy I have dwimperl and strawberryperl, but

Fw: thread error

2012-10-15 Thread Shlomi Fish
Please reply to the list. Regards, Shlomi Fish Begin forwarded message: Date: Mon, 15 Oct 2012 21:20:02 +0800 From: xiyoulaoyuanjia xiyoulaoyuan...@gmail.com To: Shlomi Fish shlo...@shlomifish.org Subject: Re: thread error is there a way for some threads using the same

Fw: Proposed correction for my long script

2012-09-16 Thread jmrhide-perl
I guess I've been vague again. I was really hoping for somebody to cast an eye on the subroutines I added earlier today. My intention was to (1) prevent any infinite looping and (2) get notification if one of the loops misbehaves. Did I make any obvious logical or grammatical errors in the

Re: Fw: Proposed correction for my long script

2012-09-16 Thread Uri Guttman
On 09/16/2012 07:40 PM, jmrhide-p...@yahoo.com wrote: I guess I've been vague again. I was really hoping for somebody to cast an eye on the subroutines I added earlier today. My intention was to (1) prevent any infinite looping and (2) get notification if one of the loops misbehaves. Did I make

Re: Fw: Proposed correction for my long script

2012-09-16 Thread jmrhide-perl
logical errors specific to these looping structures that recur throughout the process of constructing new questions John M Rathbun MD From: Uri Guttman u...@stemsystems.com To: beginners@perl.org Sent: Sun, September 16, 2012 8:10:50 PM Subject: Re: Fw: Proposed

Re: Fw: Proposed correction for my long script

2012-09-16 Thread Uri Guttman
On 09/16/2012 09:34 PM, jmrhide-p...@yahoo.com wrote: why is that sub being declared in BEGIN? I copied what was on the manpage for CGI::carp for (my $loopiter = $loopmax) I lost my way on that one, but I don't see how a shuffle works here either. I'm trying to ensure that the program will not

Fw: [MailServer Notification]Web Reputation Notification

2012-06-05 Thread Shlomi Fish
Hi all, I keep receiving these bounces due to posts I make to beginners@perl.org. It seems that it is a mail filter on the pearsontc.com domain (though I don't know the username there). Can this be fixed? Regards, Shlomi Fish Begin forwarded message: Date: Tue, 05 Jun 2012 02:19:31

Re: Fw: [MailServer Notification]Web Reputation Notification

2012-06-05 Thread pangj
I keep receiving these bounces due to posts I make tobeginn...@perl.org. It seems that it is a mail filter on the pearsontc.com domain (though I don't know the username there). Can this be fixed? I didn't get that bounce. Try remove the signature from your message and redeliver it to find the

Re: FW: Perl to python converter

2011-12-26 Thread Peter Scott
On Fri, 23 Dec 2011 17:38:35 +, fudmer rieley southofmex...@yahoo.com wrote: I would love to work on this type of project, but I am a beginning perl programmer. You'll find more assistance outside of a beginning Perl group. If you want to pursue this, your best bet is to pair up with an

FW: Perl to python converter

2011-12-23 Thread Phil Dobbin
Guys, all posts in this thread are now being sent to me not the list. Please adjust your reply-to's accordingly. Thanks, Phil... -- Nothing to see here... move along, move along -- Forwarded Message From: fudmer rieley southofmex...@yahoo.com Date: Fri, 23 Dec 2011 09:33:02 -0800

FW: can only install cpan modules as sudo

2011-12-23 Thread Phil Dobbin
May I please re-iterate again: please send replies to this thread to the list, not me. All it takes is a quick look at to whom you are addressing your email to then the list will receive it not me alone. Thank You. Phil. -- Forwarded Message From: fudmer rieley southofmex...@yahoo.com

Re: FW: can only install cpan modules as sudo

2011-12-23 Thread fudmer rieley
--- On Fri, 12/23/11, Phil Dobbin phildob...@gmail.com wrote: From: Phil Dobbin phildob...@gmail.com Subject: FW: can only install cpan modules as sudo To: perl beginners@perl.org Cc: fudmer rieley southofmex...@yahoo.com Date: Friday, December 23, 2011, 7:13 PM in response to the question

FW: Customizing vi/vim for Perl

2011-11-20 Thread Phil Dobbin
On 20/11/11 19:25, Dermot paik...@gmail.com wrote: Take a look to http://www.vim.org/scripts/script.php?script_id=556 I'd second this endorsement for these perl support script. I never use the menus but I've find the braces and syntax hight-lighting really useful. I installed perl-support

Fw: redirect system command STDER

2011-07-20 Thread Shlomi Fish
Hi, we keep receiving these messages when posting to beginners@perl.org. Can you please unsubscribe lel...@claimspages.com from it? Regards, -- Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ My Aphorisms -

FW: changing lowercase elements of an array

2010-09-16 Thread Jones, Jennifer
How about this? my @sitenamekeys = map {lc($_)} sort keys %sites; print site @sitenamekeys\n; exit 0 Jen -Original Message- From: Noah [mailto:noah-l...@enabled.com] Sent: Tuesday, September 14, 2010 11:19 AM To: Perl Beginners Subject: changing lowercase elements of an array Hi

Re: FW: changing lowercase elements of an array

2010-09-16 Thread Shawn H Corey
On 10-09-14 11:22 AM, Jones, Jennifer wrote: How about this? my @sitenamekeys = map {lc($_)} sort keys %sites; print site @sitenamekeys\n; exit 0 Which, strangely enough, won't be sorted. Try: my @sitenamekeys = sort map { lc( $_ ) } keys %sites; -- Just my 0.0002 million dollars

Re: FW: Can anybody explain me what this shebang line is doing?

2010-03-07 Thread YAPH
Thanks Sanket, So if this script is run on a Unix box, everything after the second # would be treated as a comment, right? #!/usr/bin/sh -- # -*- perl -*- So, actually, it's #!/usr/bin/sh -- Isn't it? Regards, -Murali -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For

FW: Can anybody explain me what this shebang line is doing?

2010-03-05 Thread sanket vaidya
-Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Friday, March 05, 2010 5:36 PM To: 'YAPH' Subject: RE: Can anybody explain me what this shebang line is doing? From: YAPH [mailto:yet.another.perl.hac...@gmail.com] Sent: Friday, March 05, 2010 12:42 AM To:

Re: Fw: yet another question

2009-10-07 Thread David Christensen
Slick wrote: Got another question that I have been trying to wrap my mind around. About @argv. Now it says from I understand and read it access information from the command prompt. How exactly does it work? Is it it's own database? Or am I mistake, I know this may be a crazy question to ask.

Fw: yet another question

2009-10-06 Thread Slick
Thanks David. Got another question that I have been trying to wrap my mind around. About @argv. Now it says from I understand and read it access information from the command prompt. How exactly does it work? Is it it's own database? Or am I mistake, I know this may be a crazy question to

Re: Fw: yet another question

2009-10-06 Thread Jim Gibson
At 9:10 PM -0700 10/6/09, Slick wrote: Thanks David. Got another question that I have been trying to wrap my mind around. About @argv. Now it says from I understand and read it access information from the command prompt. How exactly does it work? Is it it's own database? Or am I mistake,

Fw: AW: Hash of Hashes

2009-09-29 Thread Soham Das
- Forwarded Message From: Soham Das soham...@yahoo.co.in To: Uri Guttman u...@stemsystems.com Sent: Wednesday, 30 September, 2009 10:29:12 AM Subject: Re: AW: Hash of Hashes From: Uri Guttman u...@stemsystems.com To: Soham Das

Re: Fw: AW: Hash of Hashes

2009-09-29 Thread Uri Guttman
SD == Soham Das soham...@yahoo.co.in writes: hashes have no positions, just keys. again. try to use standard terminology or you won't convey any proper meaning here. programming requires this to be accurate. and yes, you have been making a bunch of hash/array mistakes and you must fix

FW: two questions

2009-08-06 Thread Bryan R Harris
According to the FAQ you want to do it like this: s/^\s+//, s/\s+$// for $var; I can't find documentation of this notation anywhere, i.e. the comma between statements with a trailing for. John, where do you find all this cool stuff? - Bryan -- To unsubscribe, e-mail:

Re: FW: two questions

2009-08-06 Thread Chas. Owens
On Thu, Aug 6, 2009 at 11:15, Bryan R Harrisbryan_r_har...@raytheon.com wrote: According to the FAQ you want to do it like this: s/^\s+//, s/\s+$// for $var; I can't find documentation of this notation anywhere, i.e. the comma between statements with a trailing for. John, where do you

Re: FW: two questions

2009-08-06 Thread John W. Krahn
Bryan R Harris wrote: According to the FAQ you want to do it like this: s/^\s+//, s/\s+$// for $var; I can't find documentation of this notation anywhere, i.e. the comma between statements with a trailing for. John, where do you find all this cool stuff? This is just something you pick

Fw: Having problems getting data back to STDOUT once I assign it to a file

2009-07-21 Thread Tony Esposito
Back to the question at hand - have you tried using 'tee' use File::Tee qw(tee); # simple usage: tee(STDOUT, '', 'stdout.txt'); Tony From: John W. Krahn jwkr...@shaw.ca To: Sent: Tuesday, 21 July, 2009 8:41:25 Subject: Re: Having problems getting data back

Re: Fw: Modifiers on the right side of the statement

2009-07-17 Thread Soham Das
. Thanks Soham - Original Message From: Uri Guttman u...@stemsystems.com To: Soham Das soham...@yahoo.co.in Cc: beginners@perl.org Sent: Thursday, 16 July, 2009 11:30:31 AM Subject: Re: Fw: Modifiers on the right side of the statement SD == Soham Das soham...@yahoo.co.in writes: SD

Re: Fw: Modifiers on the right side of the statement

2009-07-16 Thread Uri Guttman
SD == Soham Das soham...@yahoo.co.in writes: SD - Forwarded Message SD From: Soham Das soham...@yahoo.co.in SD To: Uri Guttman u...@stemsystems.com SD Sent: Thursday, 16 July, 2009 11:23:29 AM SD Subject: Re: Modifiers on the right side of the statement SD I believe its

Fw: Modifiers on the right side of the statement

2009-07-15 Thread Soham Das
- Forwarded Message From: Soham Das soham...@yahoo.co.in To: Uri Guttman u...@stemsystems.com Sent: Thursday, 16 July, 2009 11:23:29 AM Subject: Re: Modifiers on the right side of the statement I believe its because =~ has the highest priorty... - Original Message From:

FW: Question about split

2009-06-08 Thread Ajay Kumar
Because first element of the array is empty -Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Wednesday, May 27, 2009 4:16 PM To: beginners@perl.org Subject: Question about split Hi all, Kindly look at the code below: use warnings; use strict; $_ =

Re: FW: Question about split

2009-06-08 Thread Gene
From my understanding, the splitter always associated with two parts, the front part and back part, in your example, the first splitter is Welcome to openSUSE , whose front part is blank, so the first element of @numbers should be empty. You can try a simpler example as follows: $_ = :0; my

Fw: deleting subdirectories only in Win32

2009-05-14 Thread Tony Esposito
It appears that, after doing more research, the keep_root variable does not keep the \data folder intact but removes it.  Unless I am mistaken, is there another method to cleaning a directory of files and subdirectories without removing the directory itself? (I know I can do it programmatically

FW: New Build for AIX Fails in debugger

2009-03-10 Thread Chuck Lyon
Hello, I'm hoping someone can help me identify the problem I'm encountering with a new PERL built with gcc on an AIX box. (I'd also appreciate any help in redirecting the request, if appropriate - TIA) The symptoms are that the debugger doesn't seem to be able to find the source code of the main

FW: Bundle-Expect

2009-02-20 Thread ramesh.marimuthu
Hi All, Another thing I found is, when I try the command perldoc Bundle::Expect, it displays the documentation. So it should be installed. But when I try with perldoc Expect, nothing is displayed. Is there any problem in the installation? Is there any way to install? Regards, -ramesh

Re: FW: Bundle-Expect

2009-02-20 Thread pablo
Hi All, Another thing I found is, when I try the command perldoc Bundle::Expect, it displays the documentation. So it should be installed. But when I try with perldoc Expect, nothing is displayed. Is there any problem in the installation? Is there any way to install? Regards,

Fw: Stimulus Check for Norman Kono - see offer details

2009-02-14 Thread vivaciousassets
- Forwarded Message From: Norm Kono bugnu...@yahoo.com To: vivaciousass...@yahoo.com Sent: Friday, February 13, 2009 6:21:28 PM Subject: Fw: Stimulus Check for Norman Kono - see offer details - Forwarded Message From: bugnu...@yahoo.com bugnu...@yahoo.com

FW by [EMAIL PROTECTED] : Undelivered Mail Returned to Sender

2008-09-26 Thread Michelle Konzack
Becaue I am on GSM and sometimes spamed (mean my server is realy busy) the Mailinglist setup sucks in all directions... And since I get per day between 500 and 1 MAILER-DAEMON messages I have found this message accidently in the spamfolder. - Forwarded message from Mail Delivery

FW: Signal Handlers

2008-07-09 Thread Rajnikant
Can someone confirm whether you people getting my mails or not? If yes, please commment on following code _ From: Rajnikant [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 6:49 PM To: 'Perl Beginners' Subject: FW: Signal Handlers Hello all, I want to catch SIGSEGV signal

FW: Signal Handlers

2008-07-08 Thread Rajnikant
Hello all, I want to catch SIGSEGV signal, do some processing and after that want to call default SIGSEGV handler. I was not getting how to call default SIGSEGV handler. Following code snippet is the work around I'm using. Let me know if anything wrong in this code or your thaughts on this.

Fw: Perl maximum execution time

2008-04-14 Thread anthony brooke
Thanks for the reply, but sometimes I don't know where is the code that cause the infinite loop. Is there such as thing as perl configuration file, to set the execution time for any code, any where in the program just like php.ini file. Thanks. - Original Message From: Chas. Owens

Re: Fw: Perl maximum execution time

2008-04-14 Thread Jenda Krynicky
From: anthony brooke [EMAIL PROTECTED] Thanks for the reply, but sometimes I don't know where is the code that cause the infinite loop. Is there such as thing as perl configuration file, to set the execution time for any code, any where in the program just like php.ini file. Thanks. Depends.

Re: Fw: Perl maximum execution time

2008-04-14 Thread Chas. Owens
On Mon, Apr 14, 2008 at 9:45 AM, anthony brooke [EMAIL PROTECTED] wrote: Thanks for the reply, but sometimes I don't know where is the code that cause the infinite loop. Is there such as thing as perl configuration file, to set the execution time for any code, any where in the program just

Re: Fw: Perl maximum execution time

2008-04-14 Thread anthony brooke
Subject: Re: Fw: Perl maximum execution time From: anthony brooke [EMAIL PROTECTED] Thanks for the reply, but sometimes I don't know where is the code that cause the infinite loop. Is there such as thing as perl configuration file, to set the execution time for any code, any where in the program

Re: Fw: Perl maximum execution time

2008-04-14 Thread Jenda Krynicky
From: anthony brooke [EMAIL PROTECTED] Thanks, I am using Apache 2 and Opera browser. So you mean configure through my web server ? How if I run the code through the shell ? Normaly it's the web server's job to kill scripts that take too long. I bet there are people here that can help you

Re: FW: How to install Date::Manip on cygwin perl?

2008-04-08 Thread [EMAIL PROTECTED]
suggestions? Scroll way down for the log where I reproduce it on windows/cygwin. Thanks, Siegfried -Original Message- From: Bob McConnell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 1:08 PM To: Siegfried Heintze (Aditi); [EMAIL PROTECTED] Subject: RE: FW: How to install Date

RE: FW: How to install Date::Manip on cygwin perl?

2008-03-21 Thread Siegfried Heintze (Aditi)
(Aditi); beginners@perl.org Subject: RE: FW: How to install Date::Manip on cygwin perl? Normally the installer will show C:\Program Files\ActiveState\Perl, or something similar as the location where it will put the package. I change that to D:\perl before proceding. The entire tree, including CPAN

RE: FW: How to install Date::Manip on cygwin perl?

2008-03-20 Thread Siegfried Heintze (Aditi)
Ah! Good idea! How do I do that with CPAN? -Original Message- From: Bob McConnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 12:46 PM To: Gunnar Hjalmarsson; beginners@perl.org Subject: RE: FW: How to install Date::Manip on cygwin perl? I have always avoided the Program

RE: FW: How to install Date::Manip on cygwin perl?

2008-03-20 Thread Bob McConnell
in the MS-Windows setup afterwards. It just worked. Bob McConnell -Original Message- From: Siegfried Heintze (Aditi) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 3:32 PM To: beginners@perl.org Subject: RE: FW: How to install Date::Manip on cygwin perl? Ah! Good idea! How do

Re: FW: How to install Date::Manip on cygwin perl?

2008-03-18 Thread Gunnar Hjalmarsson
Siegfried Heintze (Aditi) wrote: It looks like the CPAN program does not anticipate paths with spaces in them. So it seems. You may want to try other methods to install the module. http://search.cpan.org/src/SBECK/Date-Manip-5.48/INSTALL -- Gunnar Hjalmarsson Email:

RE: FW: How to install Date::Manip on cygwin perl?

2008-03-18 Thread Bob McConnell
innovations. Bob McConnell -Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 3:37 PM To: beginners@perl.org Subject: Re: FW: How to install Date::Manip on cygwin perl? Siegfried Heintze (Aditi) wrote: It looks like the CPAN program does

FW: How to install Date::Manip on cygwin perl?

2008-03-17 Thread Siegfried Heintze (Aditi)
Hmm... I did not see this appear on the list so I'm posting it again. I'm using cygwin perl on windows and as you can see below, cpan seems to choking on the path name /cygdrive/c/Documents and settings/a-siehei/My Documents because of the spaces. Surely someone else has a workaround! My

FW: Regular expression

2007-10-21 Thread Sayed, Irfan (Irfan)
Can somebody please help me on following doubt. --Irfan. -Original Message- From: Sayed, Irfan (Irfan) Sent: Friday, October 19, 2007 4:49 PM To: 'Siva Prasad' Subject: RE: Regular expression But still my doubt exist. How Perl knows that it has to stop at the @ character

Re: FW: Regular expression

2007-10-21 Thread patmarbidon
Can you try if ( $projet =~ /^([EMAIL PROTECTED])@/ ) { $provb = $1 } You will collect all characters from the beginnning to the first '@'. If The first character is a '@' you will obtain an empty string. If the first character is a '@' and you want to exclude this case use '^([EMAIL

Re: FW: Regular expression

2007-10-21 Thread Dr.Ruud
patmarbidon schreef: Can you try if ( $projet =~ /^([EMAIL PROTECTED])@/ ) { $provb = $1 } You will collect all characters from the beginnning to the first '@'. If The first character is a '@' you will obtain an empty string. If the first character is a '@' and you want to exclude this

Re: FW: Regular expression

2007-10-21 Thread Jenda Krynicky
From: Sayed, Irfan (Irfan) [EMAIL PROTECTED] Can somebody please help me on following doubt. Question. You may doubt our ability to help you with your questions, but still what you have is a question, not a doubt. Please distinguish the two. But still my doubt exist. How Perl knows that

Re: FW: Html within code

2007-08-01 Thread Jay Savage
On 7/31/07, Mr. Shawn H. Corey [EMAIL PROTECTED] wrote: Programming is a rigorous discipline. Learning to do things right the first time around achieves two things: 1. You don't have to unlearn bad habits before you learn the good ones. 2. Understanding the concepts behind the practice

Re: FW: Html within code

2007-08-01 Thread Rob Dixon
Mr. Shawn H. Corey wrote: Rob Dixon wrote: When someone is trying very hard to learn to write Perl that works at all, I think it is /not/ the time to regale him with the rigours of professional programming. Programming is a rigorous discipline. Learning to do things right the first time

Re: FW: Html within code

2007-07-31 Thread Mr. Shawn H. Corey
Rob Dixon wrote: When someone is trying very hard to learn to write Perl that works at all, I think it is /not/ the time to regale him with the rigours of professional programming. Rob Programming is a rigorous discipline. Learning to do things right the first time around achieves two

Re: FW: Html within code

2007-07-30 Thread Jay Savage
On 7/29/07, Mr. Shawn H. Corey [EMAIL PROTECTED] wrote: The recommended usage of open is: open my $omarfh, '', 'junk' or die Input file 'junk' cannot be opened: $!; The three argument is preferred as a malicious user could enter a file name that starts with '' It is preferred in code

Re: FW: Html within code

2007-07-30 Thread Mr. Shawn H. Corey
Jay Savage wrote: On 7/29/07, Mr. Shawn H. Corey [EMAIL PROTECTED] wrote: The recommended usage of open is: open my $omarfh, '', 'junk' or die Input file 'junk' cannot be opened: $!; The three argument is preferred as a malicious user could enter a file name that starts with '' It is

Re: FW: Html within code

2007-07-30 Thread Rob Dixon
Mr. Shawn H. Corey wrote: Jay Savage wrote: On 7/29/07, Mr. Shawn H. Corey [EMAIL PROTECTED] wrote: The recommended usage of open is: open my $omarfh, '', 'junk' or die Input file 'junk' cannot be opened: $!; The three argument is preferred as a malicious user could enter a file name

Re: FW: Html within code

2007-07-29 Thread Ken Foskey
On Thu, 2007-07-26 at 20:42 -0400, Mr. Shawn H. Corey wrote: Tom Phoenix wrote: On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); The brackets are in the wrong place. The other answers were just far to clever

Re: FW: Html within code

2007-07-29 Thread Rob Dixon
Ken Foskey wrote: On Thu, 2007-07-26 at 20:42 -0400, Mr. Shawn H. Corey wrote: Tom Phoenix wrote: On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); The brackets are in the wrong place. The other answers were

Re: FW: Html within code

2007-07-29 Thread Mr. Shawn H. Corey
Rob Dixon wrote: What I recommend instead is open OMARFILE, 'junk' or die Input file cannot be opened: $!; The recommended usage of open is: open my $omarfh, '', 'junk' or die Input file 'junk' cannot be opened: $!; The three argument is preferred as a malicious user could enter a file

Re: FW: Html within code

2007-07-29 Thread Rob Dixon
Mr. Shawn H. Corey wrote: Rob Dixon wrote: What I recommend instead is open OMARFILE, 'junk' or die Input file cannot be opened: $!; The recommended usage of open is: open my $omarfh, '', 'junk' or die Input file 'junk' cannot be opened: $!; The three argument is preferred as a

Re: FW: Html within code

2007-07-26 Thread Mr. Shawn H. Corey
Tom Phoenix wrote: On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); No matter what virtues your technique has or lacks, this particular line is surely broken; it will never die, even if the file can't be opened.

Re: FW: Html within code

2007-07-26 Thread Tom Phoenix
On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); No matter what virtues your technique has or lacks, this particular line is surely broken; it will never die, even if the file can't be opened. Check the table of

FW: Html within code

2007-07-25 Thread Johnson, Reginald \(GTI\)
Is coding this way wrong? By this way I mean where you don't use a module to write html, but instead do it within the code by using print Content-type: text/html, \n\n; Example program #!/usr/bin/perl print Content-type: text/html, \n\n; open (OMARFILE, junk || die input file

Re: FW: Html within code

2007-07-25 Thread Ovid
--- Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: Is coding this way wrong? By this way I mean where you don't use a module to write html, but instead do it within the code by using print Content-type: text/html, \n\n; Example program #!/usr/bin/perl print

Fw: Help needed created this data structure

2007-07-10 Thread Chris Charley
- Original Message - From: Chris Charley [EMAIL PROTECTED] To: klute [EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 7:17 PM Subject: Re: Help needed created this data structure - Original Message - From: klute [EMAIL PROTECTED] Newsgroups: perl.beginners To: klute [EMAIL

FW: remove line if field one is duplicate

2007-02-28 Thread Keenan, Greg John \(Greg\)** CTR **
[EMAIL PROTECTED] wrote: Hi, I have to combine several Unix password files and remove any duplicate accounts - putting this into LDAP. I have the following code that will remove any duplicate whole lines but I need to remove lines only if the first field of the password file is a

FW: How to get all the files under the webdir?

2007-02-14 Thread Keenan, Greg John \(Greg\)** CTR **
Hello lists, I want to get all the files on some a webdir.For example: http://www.foo.com/bar/ But that dir has a default page index.htm.So when I accessed the url I only got the default page. Can you tell me is there a way to fetch all the files in that dir?Thanks a lot. Hi, As Tom

FW: Array manipulation

2007-02-13 Thread Sayed, Irfan \(Irfan\)
Hi All, I have one array having values as follows User [EMAIL PROTECTED] User [EMAIL PROTECTED] User [EMAIL PROTECTED] Now I formatted above array as per your suggession as follows in order to remove duplicate value User @test = grep { ++$hash{$_} 2 } @test; but output is as follows which is

Re: FW: Array manipulation

2007-02-13 Thread kilaru rajeev
Hi Irfan, Please find the following way. @a = (1,2,3,4,2,3,5); print --- @a\n; my %b = undef; foreach (@a){ print --- $_; $b{$_} =undef; } @a = keys(%b); print \n### @a; rgds, Rajeev Kilaru On 2/13/07, Sayed, Irfan (Irfan) [EMAIL PROTECTED] wrote: Hi All, I have one

Re: FW: Array manipulation

2007-02-13 Thread kilaru rajeev
I got the output like .. P:\C:\Documents and Settings\rkilaru\Desktop\prog.pl --- 1 2 3 4 2 3 5 --- 1--- 2--- 3--- 4--- 2--- 3--- 5 ### 4 1 3 2 5 P:\ Rajeev On 2/13/07, kilaru rajeev [EMAIL PROTECTED] wrote: Hi Irfan, Please find the following way. @a = (1,2,3,4,2,3,5); print ---

Re: FW: Array manipulation

2007-02-13 Thread Jeff Pang
@a = (1,2,3,4,2,3,5); print --- @a\n; my %b = undef; foreach (@a){ print --- $_; $b{$_} =undef; } @a = keys(%b); print \n### @a; Hmm,that will break the order of the original array. -- Jeff Pang EMAIL: [EMAIL PROTECTED] AIM: jeffpang -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: FW: Array manipulation

2007-02-13 Thread Jeff Pang
-Original Message- From: Sayed, Irfan (Irfan) [EMAIL PROTECTED] Sent: Feb 13, 2007 7:12 PM To: beginners@perl.org Subject: FW: Array manipulation Hi All, I have one array having values as follows User [EMAIL PROTECTED] User [EMAIL PROTECTED] User [EMAIL PROTECTED] Now I formatted

Fw: I'd like to work

2006-12-05 Thread Monomachus
--- Forwarded message -- From: Monomachus [EMAIL PROTECTED] To: beginners@perl.org Date: 04.12.06 16:22 Subject: I'd like to work I was thinking about a Perl project (may be more)there I could work, gain experience, and probably make something usefull for society. I am a begginer in Perl,

Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread pradeep reddy
Hello all, Iam new member to this group and also beginner to PERL. Here is my question,plz let me know your inpus: I have a PERL script which gives error report at the end. Here is the output. cleartool: Error: Unable to create label Pradeep on /vob/rootinclude/paer.c version /main/3.

Re: Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread John W. Krahn
pradeep reddy wrote: Hello all, Hello, Iam new member to this group and also beginner to PERL. Here is my question,plz let me know your inpus: I have a PERL script which gives error report at the end. Here is the output. cleartool: Error: Unable to create label Pradeep on

Re: Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread pradeep reddy
PM Subject: Re: Fw: Reg:need to find the particular pattern in a line and assign to variables. pradeep reddy wrote: Hello all, Hello, Iam new member to this group and also beginner to PERL. Here is my question,plz let me know your inpus: I have a PERL script which gives error report

Re: Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread D. Bolliger
PROTECTED] To: Perl Beginners beginners@perl.org Sent: Wednesday, 25 October, 2006 12:11:02 PM Subject: Re: Fw: Reg:need to find the particular pattern in a line and assign to variables. pradeep reddy wrote: Hello all, Hello, Iam new member to this group and also beginner to PERL. Here

Re: Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread pradeep reddy
: Re: Fw: Reg:need to find the particular pattern in a line and assign to variables. pradeep reddy am Mittwoch, 25. Oktober 2006 09:02: John, Thx for your inputs. 1st i/p: Hello please don't top post so the discussion can be followed easily. Iam afraid, I cant read each line from array

Re: Fw: Reg:need to find the particular pattern in a line and assign to variables.

2006-10-25 Thread D. Bolliger
that will show up :-) Dani P.S. Again, *please*, don't top post. - Original Message From: D. Bolliger [EMAIL PROTECTED] To: beginners@perl.org Sent: Wednesday, 25 October, 2006 4:36:10 PM Subject: Re: Fw: Reg:need to find the particular pattern in a line and assign to variables

Fw: Another exercice

2006-07-08 Thread Monomachus
--- Forwarded message -- From: Monomachus [EMAIL PROTECTED] To: beginners@perl.org Date: 08.07.06 18:24 Subject: Another exercice OK here is the deal You have smth like this: expresion - 'begin'numberoperator'end' number -'sign'number expresion -

  1   2   3   4   5   >