On Fri, 2006-28-04 at 10:28 -0600, Chad Perrin wrote:
> Ironic -- isn't it? Repetitions of "that", no apostrophe in "work's".
> Actually, I think that's where I got that extraneous apostrophe that
> snuck into the word "its" in another email of mine a few minutes ago. I
> don't know if I stole it
On Fri, Apr 28, 2006 at 11:05:23AM -0400, Mr. Shawn H. Corey wrote:
> On Fri, 2006-28-04 at 07:33 -0700, Randal L. Schwartz wrote:
> > > ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
> >
> > "Mr> Everyone should compliment their reading with experimentation and their
> > "Mr> experim
On Fri, 2006-28-04 at 07:33 -0700, Randal L. Schwartz wrote:
> > ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
>
> "Mr> Everyone should compliment their reading with experimentation and their
> "Mr> experimentation with reading.
>
> Do you mean "complement", or do you mean that you
> ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
"Mr> Everyone should compliment their reading with experimentation and their
"Mr> experimentation with reading.
Do you mean "complement", or do you mean that you should say kind words
about your reading? :)
--
Randal L. Schwartz - St
On Thu, Apr 27, 2006 at 12:20:22PM -0400, Mr. Shawn H. Corey wrote:
> On Thu, 2006-27-04 at 11:03 -0500, Russ Foster wrote:
> > Maybe I'll just buy a good reference book. ;-)
>
> I recommend "Zen and the Art of Motorcycle Maintenance : An Inquiry into
> Values" by Robert M. Pirsig. Has nothing to
On Thu, Apr 27, 2006 at 08:23:52AM -0400, [EMAIL PROTECTED] wrote:
>
> Although the "try it and see" approach is fun and intellectually
> challenging, it really isn't productive for everyone. For example, I
> wouldn't like to be paying a contractor who is getting paid per hour to
> do a lot of "tr
On Thu, 2006-27-04 at 11:03 -0500, Russ Foster wrote:
> Maybe I'll just buy a good reference book. ;-)
I recommend "Zen and the Art of Motorcycle Maintenance : An Inquiry into
Values" by Robert M. Pirsig. Has nothing to do with Perl or computers
but is a good read anyway.
--
__END__
Just my 0
On Thu, 2006-27-04 at 08:18 -0700, Randal L. Schwartz wrote:
> > ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
> "Mr> A good way to learn how a function works is to write a small program to
> "Mr> test it. There is nothing like hands-on experience.
>
> Unless your experience doesn't
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>
> > Instead of the perldoc chomp example of:
>
> It sounds as if you have ideas on how to improve the Perl
> documentation. I heartily encourage you to contribute your
> improvements by means of the p
On 4/27/06, Russ Foster <[EMAIL PROTECTED]> wrote:
> Instead of the perldoc chomp example of:
It sounds as if you have ideas on how to improve the Perl
documentation. I heartily encourage you to contribute your
improvements by means of the perlbug program, which comes with Perl. A
patch to the .p
> -Original Message-
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
>
> However, you didn't challenge my point. You merely made a different
> point.
> It is *not* sufficient to merely experiment. Reading the reference doc is
> mandatory for complete understanding.
That's because I
> "Russ" == Russ Foster <[EMAIL PROTECTED]> writes:
Russ> But that's exactly why you need to try it and see. The more a document
Russ> spends on the arcane details of a function (which perldoc does), the more
Russ> likely a beginner would get lost in those details and find some other
source
R
> -Original Message-
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
>
> For example, almost no amount of experimentation will stumble across
> how chomp actually removes $/, not just "\n".
But that's exactly why you need to try it and see. The more a document
spends on the arcane de
> -Original Message-
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 April, 2006 10:18
> To: beginners@perl.org
> Subject: Re: Chomp method
>
>
> For example, almost no amount of experimentation will stumble across
> how chomp actual
> ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
"Mr> On Wed, 2006-26-04 at 23:07 -0700, Jaime Murillo wrote:
>> The good way to learn how a function works is to use the perldoc utility.
"Mr> A good way to learn how a function works is to write a small program to
"Mr> test it. There
On Thu, 2006-27-04 at 08:23 -0400, [EMAIL PROTECTED] wrote:
> I'd have to say that I disagree with this approach - as mentioned by
> several people here...
>
> Although the "try it and see" approach is fun and intellectually
> challenging, it really isn't productive for everyone. For example, I
>
Great article! Thanks for the reference.
-r
> -Original Message-
> From: Chad Perrin [mailto:[EMAIL PROTECTED]
> >
> > A good way to learn how a function works is to write a small program to
> > test it. There is nothing like hands-on experience.
>
> . . . or "Apply the T.I.T.S. principl
On Thursday 27 April 2006 14:23, you([EMAIL PROTECTED]) wrote:
> I'd have to say that I disagree with this approach - as mentioned by
> several people here...
I must say you have a point, but it would be *a lot* easier to understand what
you disagree with if you choose (at least) one of the foll
to carry a cat by its tail learns something that
will always be useful and which will never grow dim or doubtful."
Mark Twain
-Original Message-
From: Chad Perrin [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 7:55 AM
On Thu, Apr 27, 2006 at 07:25:15AM -0400, Mr. Shawn H. Corey wrote:
> On Wed, 2006-26-04 at 23:07 -0700, Jaime Murillo wrote:
> > The good way to learn how a function works is to use the perldoc utility.
>
> A good way to learn how a function works is to write a small program to
> test it. There i
On Wed, 2006-26-04 at 23:07 -0700, Jaime Murillo wrote:
> The good way to learn how a function works is to use the perldoc utility.
A good way to learn how a function works is to write a small program to
test it. There is nothing like hands-on experience.
--
__END__
Just my 0.0002 million
AndrewMcHorney wrote:
> Hello
Hello,
> I am wondering how the chomp function works. I am looking to see how I
> can truncate new line and/or carriage returns from a string. Will chomp
> do nothing if there are no carriage return or line feed at the end. If
> the end of the string has a space will
On Wednesday 26 April 2006 22:51, AndrewMcHorney wrote:
> Hello
Hey Andrew
>
> I am wondering how the chomp function works. I am looking to see how
> I can truncate new line and/or carriage returns from a string. Will
> chomp do nothing if there are no carriage return or line feed at the
> end. If
Hello,
The chomp function will chomp off the last character
if its a new line.
Spaces wont be truncated by chomp.
Regards
Nishanth
> Hello
>
> I am wondering how the chomp function works. I am
> looking to see how
> I can truncate new line and/or carriage returns from
> a string. Will
> chom
Hello
I am wondering how the chomp function works. I am looking to see how
I can truncate new line and/or carriage returns from a string. Will
chomp do nothing if there are no carriage return or line feed at the
end. If the end of the string has a space will it leave it alone?
Andrew
--
T
25 matches
Mail list logo