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:
>
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
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
-- 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
-- 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
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
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
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
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
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
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
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
hello! http://sphram.ru/gaws/khyl/osrkp/trli.html
wisma laili
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
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
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
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
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
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
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
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
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
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
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
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
--- 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
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
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 -
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
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
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
-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:
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.
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
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,
- 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
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
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:
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
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
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
.
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
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
- 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:
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;
$_ =
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
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
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
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
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,
- 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
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
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
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.
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
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.
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
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
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
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
(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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
--- 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
- 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
[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
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
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
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
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 ---
@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]
-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
--- 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,
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.
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
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
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.
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
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
--- 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 - 100 of 448 matches
Mail list logo