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:
> my_recursion accepts $self as its first argument, so you should pass
> it there. D
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 Wells'
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
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
To: beginners
Subject: Re: Perl array question
Hi Anirban
-- Forwarded message --
From: Shlomi Fish
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
To: beginners
Subject: Re: Perl array question
Hi Anirban
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
To: Shlomi Fish
Subject: Re: use perl format data
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 Mess
Begin forwarded message:
Date: Wed, 30 Oct 2013 11:18:58 -0700
From: "D.Edmons"
To: Shlomi Fish
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 there for a short time), but the economy dro
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 loa
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 wrote:
> On 26/06/2013 10:18, Franklin Lawerence wrote:
>
>>
>> Hi,
>>
>> Could you please let me know how to reverse a string without u
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 homework
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
To:
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
To: Shlomi Fish
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 word-wrapping. Here are the better links:
https://me
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
To: Shlomi Fish
Subject: Re: make and Makefile.PL
Hy I have dwimperl and strawberryperl, but some programs ask for make that
does not exits,
Please reply to the list.
Regards,
Shlomi Fish
Begin forwarded message:
Date: Mon, 15 Oct 2012 21:20:02 +0800
From: xiyoulaoyuanjia
To: Shlomi Fish
Subject: Re: thread error
is there a way for some threads using the same *Net::SSH::Perl* connection
2012/10/15 Shlomi Fish
> Hi,
On 09/16/2012 09:34 PM, jmrhide-p...@yahoo.com wrote:
I copied what was on the manpage for CGI::carp
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 pick the same term twice in a row.
$lastnum comes from a cookie and re
to these looping structures that recur throughout the process of
constructing new questions
John M Rathbun MD
From: Uri Guttman
To: beginners@perl.org
Sent: Sun, September 16, 2012 8:10:50 PM
Subject: Re: Fw: Proposed correction for my long script
On 09/16/2012 07:40
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 a
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 snipp
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
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 -0
On Fri, 23 Dec 2011 17:38:35 +, fudmer rieley
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 experienced Perl
pro
--- On Fri, 12/23/11, Phil Dobbin wrote:
From: Phil Dobbin
Subject: FW: can only install cpan modules as sudo
To: "perl"
Cc: "fudmer rieley"
Date: Friday, December 23, 2011, 7:13 PM
in response to the question of writing a perl to python converter i
Maybe a better
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
Date: Fri, 23 Dec 2011
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
Date: Fri, 23 Dec 2011 09:33:02 -0800 (PST)
To: Phil Dobbin
Su
On 20/11/11 19:25, "Dermot" 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 as per ins
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 - http://ww
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 wor
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 ther
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 additiona
-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.
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, I
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 as
> "SD" == Soham Das 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 that
- Forwarded Message
From: Soham Das
To: Uri Guttman
Sent: Wednesday, 30 September, 2009 10:29:12 AM
Subject: Re: AW: Hash of Hashes
From: Uri Guttman
To: Soham Das
Cc: Thomas Bätzler ; beginners@perl.org
Sent: Tuesday, 29 September, 2009 9:17
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 u
On Thu, Aug 6, 2009 at 11:15, 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
>> 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: beginner
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
To:
Sent: Tuesday, 21 July, 2009 8:41:25
Subject: Re: Having problems getting data back to STDOUT once
.
Thanks
Soham
- Original Message
From: Uri Guttman
To: Soham Das
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 writes:
SD> - Forwarded Messag
> "SD" == Soham Das writes:
SD> - Forwarded Message
SD> From: Soham Das
SD> To: Uri Guttman
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 because =~ has the highest priorty...
the term is
- Forwarded Message
From: Soham Das
To: Uri Guttman
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: Uri Guttman
To: John W. Krahn
Cc: Perl
>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
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;
$_ = '
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?
>
> Reg
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
--
- Forwarded Message
From: Norm Kono
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"
To: jenny_516313371
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 Syste
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 SIGS
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.
loc
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
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 progr
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 ?
- Original Message
From: Jenda Krynicky <[EMAIL PROTECTED]>
To: beginner perl mailling list
Sent: Monday, April 14, 2008 22:31:35
Subject: Re: Fw
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.
Dep
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 <[EM
.
> 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::Manip on cygwin perl?
>
> Normall
(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
. I didn't have to fiddle with anything 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
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 "Pr
s not
one of their better 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 look
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: http://www.gunnar.cc/cgi-b
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 a
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
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 exclu
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 PROTECTED
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
As
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 ar
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 pr
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 thing
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 nam
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 i
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 preferr
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 m
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 fil
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, "
The brackets are in the wrong place.
The other answers were just far to clever & cryptic.
Hehe how true.
W
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, "http://learn.perl.org/
Tom Phoenix wrote:
On 7/25/07, Johnson, Reginald (GTI) <[EMAIL PROTECTED]> wrote:
open (OMARFILE, "
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 precedence in the perlop manpag
On 7/25/07, Johnson, Reginald (GTI) <[EMAIL PROTECTED]> wrote:
open (OMARFILE, "
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 precedence in the perlop manpage. Cheers!
--Tom Ph
--- "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/bi
>
> 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, "
>
- 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: "k
<[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
-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 PROTECTE
>
>@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-mai
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);
prin
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
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
--- Forwarded message --
From: Monomachus <[EMAIL PROTECTED]>
To:
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, also can work wit
our script (after the shebang
line):
use strict;
use warnings;
and adjust the code according to the help 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: Wed
dnesday, 25 October, 2006 4:36:10 PM
Subject: 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
lt.
Hope this helps!
Dani
[Original question & JWK's 1st answer:]
> - Original Message
> From: John W. Krahn <[EMAIL PROTECTED]>
> To: Perl Beginners
> Sent: Wednesday, 25 October, 2006 12:11:02 PM
> Subject: Re: Fw: Reg:need to find the particular patt
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 is my question,plz let me know your inpus:
> I have a PERL scrip
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
> "/v
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".
cl
--- Forwarded message --
From: Monomachus <[EMAIL PROTECTED]>
To:
Date: 08.07.06 18:12
Subject: File test operator -C in Win32
What does really means -C file test operator on Win32 platform? Creation time
or what?
==
Thanks,
Monomachus
--- End of forwarded message --
1 - 100 of 424 matches
Mail list logo