would remove the 'my' for
my variables and add a 'dynamic $variable' for the ones which need it,
reaching well over the 80%.
Just my guess,
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
other kind of singular whatzitz is a reasonable thing. Think of it as
singular and plural nouns and verbs if that helps :-) (and yes, I know that
analogy doesn't fit very well, so save your fingers on that one :-).
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist
Thus it was written in the epistle of Michael Mathews,
Ted Ashton wrote:
The qc()
proposal fits in well with the Perl "look-and-feel" and seems pretty
comfortable to me. If there are concerns about obfuscatory potential, a
use strict 'comments' could require that the qc( ope
Thus it was written in the epistle of Jon Ericson,
Ted Ashton wrote:
Thus it was written in the epistle of Tom Christiansen,
Nope. A filehandle is a singular whatzitz. It thus mandatory takes
the singular prefix; to wit, $. What's next? Integer and float and
complex and string
Thus it was written in the epistle of Tom Christiansen,
What about regexes?
$foo = qr/blech/;
Should that be /foo instead? :-)
Notice how even objects use $, not something else.
*chuckle* Ok, point conceded.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist
icult when trying
to decide where to be in a system one is not writing oneself which will be
learned by students one is not teaching.
In this case, I *think* that the learning curve is worth the advantages of
having the symbols we have, but I am only one voice.
Ted
--
Ted Ashton ([EMAIL
? The confusion
would cleared up considerably, I think, if they didn't return a value.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
One of the endlessly alluring aspects of mathematics
sad to see them go. After all, that's one of the cool things--no other
language I've ever seen uses the latter at all and, well, it's one of the
things which makes Perl fun. Has having $ and its riends caused trouble
for you?
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist
prudent to make
while (chomp(ARGV))
work like
while (ARGV)
(with the expected difference, of course). After all, "while (ARGV)" is
special-cased already.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist
got its name from the other orm and that orm *worked*!
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
If we possessed a thorough knowledge of all the parts of the seed of any
animal
much.
Ted "really glad we have DC on our side--
he'd be downright dangerous elsewhere :-)" Ashton
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
There are three kinds of
o this kid even if it has
grown up a little :-).
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
For God's sake, please give it up. Fear it no less than the sensual passion,
because it
Thus it was written in the epistle of Bart Lateur,
On Fri, 4 Aug 2000 10:03:28 -0400, Ted Ashton wrote:
If we've decided that chomp isn't going to return the clippings, would it not
seem prudent to make
while (chomp(ARGV))
work like
while (ARGV)
You mean, like, the -l command
() is handed an empty line, it will return a defined value.
Only at the point at which FILE returns undef will the while cease.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
How can
that.
:-),
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
Do not worry about your difficulties in mathematics, I assure you that mine
are greater
private $/.
i like the ability to set global defaults here.
Hear, hear! Chomp (which I still consider a useful critter :-), needs a
$/ sort of thing to know what to chomp and the lines it chomps may or may
not have come from a given file.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern
(chomp(FH)) { ... }
work like
while (FH) { chomp; ... }
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
Most of the fundamental ideas of science are essentially simple, and may
filehandle has their's
defaulted to something reasonable.
I think that the point of the global $/ and $\ was to define "reasonable."
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist
Thus it was written in the epistle of Brust, Corwin,
From: Ted Ashton [mailto:[EMAIL PROTECTED]]
I don't particularly mind the last two - in fact they add some benefits
(like not modifying the original), which are nice to have. However, that
first one, frankly, drives me nuts.
Please
chomp():
does as above, but using the second argument (which is a scalar, not a
regex)
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
An expert problem solver must
Thus it was written in the epistle of Peter Scott,
I do not want a language designed by a committee, or even a
democracy. This is art, not politics.
Preach on, brother!
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
uses the DB package. What happens
if someone loads SmallProf and DProf and the perl debugger all at once?
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
Mathematics is not only real
-),
Ted
P.S. Seems to me that while putting hooks in the core to allow this sort of
thing might be worthwhile, infinite lists are not likely to be commonly used
and so probably should go into a module.
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern
Thus it was written in the epistle of Steve Simmons,
On Wed, Aug 09, 2000 at 05:53:44PM -0400, Ted Ashton wrote:
I'll take that as my cue ;-).
Ah, nothing like a man who knows when to pick up his cues.
:-)
*shudder* This whole business is getting pretty scary . . .
[[ discussion
. But it doesn't seem so difficult now. Why do folks
feel that if they have to put out a little effort to learn something that it's
a horrible thing?
/minor rant
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
. A consistent epoch would fix this.
Well then, why 1970? If we're defining our own, why buy into one which is
scheduled to blow up in 2038? Why not at the very least start with Jan 1, 2K?
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
the new ..."
=Austin
Just to be absolutely certain, could you say that again, using www.perl.com
as the example?
Thanks,
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
nflict.
I don't think we want a mechanism which, when I type parm() (meaning to have
typed param()) goes out and searches CPAN, downloads and installs Blarg::Foo
which has parm() defined and use it :-).
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys,
t; would suffice for normal code and one could just
perl6 -e 'whatever;'
for one-liners.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
Mathematics is the most exact science, and
) shoud result in the desired syntax.
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
How happy the lot of the mathematician. He is judged solely by his peers,
and the standard is so high
and, wait for it, produce
bytecode which would run on the Python interpreter--except more slowly than
actually using Python ;-).
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==
Computers
to the missing bracket
rather than have it attempt to run the code, assuming that the ; is really
*not* the end of the statement. 'Course, it has long been held that *any*
random sequence of characters is a valid Perl program, and this makes that a
little more true.
Ted
--
Ted Ashton ([EMAIL
Thus it was written in the epistle of Piers Cawley,
In the following code fragment, what context is foo() in?
@ary[0] = foo()
Scalar, I would think.
Just my guess,
Ted
--
Ted Ashton ([EMAIL PROTECTED]) | From the Tom Swifty collection:
Southern Adventist University| Multiplication
. While it might make the
language simpler, the proliferation of left-over lexicals seems
sloppy.
.. . . if not to say downright ugly. The boolean of an if or a while is more a
part of the inner stuff than the outer. What's the chance that it could
be considered so?
Ted
--
Ted Ashton
over
the following rather than skip to the following), but I find nobreak also
a bit strange. How about proceed?
Ted
--
Ted Ashton ([EMAIL PROTECTED]) | From the Tom Swifty collection:
Southern Adventist University| I'm knitting a sweater for my guppy, said
Deep thought to be found
which are related to the continuation. It doesn't just save all
data generally or $foo (from the example) would never really get decremented.
Ted
--
Ted Ashton ([EMAIL PROTECTED]) | From the Tom Swifty collection:
Southern Adventist University| The bank doesn't even want me as a
Deep thought
36 matches
Mail list logo