Re: complex numbers

2005-01-09 Thread Jürgen Exner
[EMAIL PROTECTED] wrote: > #python supports complex numbers. [...] So? > # Perl doesn't support complex numbers. But there are packages that > supports it. The Math::Complex module is part of the standard installation already, no need for any "packages" (whatever that might be). Did you check "

Re: unicode support

2005-01-09 Thread Jürgen Exner
[EMAIL PROTECTED] wrote: > # -*- coding: utf-8 -*- > # python supports unicode in source code by putting a coding > declaration > # as the first line. So? > In perl, support of unicode is very flaky. The language does not > support it, but packages that changes behaviors of string handling (in >

Re: 20050110: string join, substring, length

2005-01-11 Thread Jürgen Exner
Xah Lee wrote: [...] > # perldoc -tf substr Is there a specific reason why you are 'ugly-printing' the doc pages? >From 'perldoc perldoc': -t text output Display docs using plain text converter, instead of nroff. This may be faster, but it won't look as nice. jue -- htt

Re: [perl-python] 20050113 looking up syntax

2005-01-14 Thread Jürgen Exner
Xah Lee wrote: > - > > for perl syntax lookup, use perldoc in the command line. For example: > perldoc perl Wrong. That command will give you a high-level overview of Perl but tell you nothing about the syntax. To lookup the Perl syntax you would have to use perldoc perls

Re: [perl-python] 20050117, filter, map

2005-01-17 Thread Jürgen Exner
Abigail wrote: > Steven Bethard ([EMAIL PROTECTED]) wrote on CLVII September > $$ Is there any chance you could post these all as part of the same > thread? > > Just killfile him, and stop replying. Remember, don't feed the trolls. True, except that he spreads lies about Perl and really bad c

Re: [perl-python] 20050118 keyed list

2005-01-18 Thread Jürgen Exner
Xah Lee wrote: > © # in perl, keyed-list is done like this: Just FYI: those thingies are called hashes. The legacy name would be associative array. > © %a = ('john',3, 'mary', 4, 'jane', 5, 'vicky',7); > © use Data::Dumper qw(Dumper); > © print Dumper \%a; Wow, my compliments. The very first ti

Re: [perl-python] 20050118 keyed list

2005-01-18 Thread Jürgen Exner
Tassilo v. Parseval wrote: > Also sprach Jürgen Exner: > >> Xah Lee wrote: > >>> © %a = ('john',3, 'mary', 4, 'jane', 5, 'vicky',7); >>> © use Data::Dumper qw(Dumper); >>> © print Dumper \%a; >> >> Wow, m

Re: [perl-python] 20050126 find replace strings in file

2005-01-26 Thread Jürgen Exner
Xah Lee wrote: [...] > In perl, similar code can be achieved. > the following code illustrates. > > if (scalar @ARGV != 4) Why scalar()? The comparison already creates a scalar context, no need to enforce it twice. > {die "Wrong arg! Unix BNF: $0 > \n"} > $stext=$ARGV[0]; > $rtext=$ARGV[1];

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Jürgen Exner
Xah Lee wrote: [...] > [long rant about Perl modules snipped] > > # And because the way it is > # written, Yeah, indeed, you correctly identified the root of the problems. If you would have written your Perl program in a normal way instead of in your cryptic wretched style then you would not have

Re: [perl-python] sending email

2005-01-30 Thread Jürgen Exner
Xah Lee wrote: [...] > Here's how the situation stands as of 2001 March: ^^ Well, at least now we know why Mr. Lee is a little bit behind jue -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] Range function

2005-05-12 Thread Jürgen Exner
Xah Lee wrote: > Today we'll be writing a function called Range. I don't think so. Unless you meant to write "Today WE'll be writing " > The Perl documentation is as follows. Bullshit. The Perl documentation is part of any Perl installation but you didn't link to it anywhere left alone quot

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Jürgen Exner
Xah Lee wrote: > The Rise of "Static" versus "Instance" variables Please do not feed the troll * > -- > to be continued tomorrow. Please don't > This is part of an installment of the article > "What are OOP's Jargons and Complexities" > by Xah Lee, 20050128. The full text is at

Re: Python documentation problem

2005-06-18 Thread Jürgen Exner
Xah Lee wrote: > Python documentation, > [...] Python Reference Manual for more information. > [...] python doc wasted my time. [...] python coders. > [...] use python doc > python community [...] coding in python. [Sexual explicatives deleted] And this outburst has exactly _what_ to do with Perl

Re: Python documentation problem

2005-06-18 Thread Jürgen Exner
Xah Lee wrote: > i wanted to find out if Python supports eval. e.g. > > somecode='3+4' > print eval(somecode) # prints 7 > > in the 14 hundred pages of python doc, where am i supposed to find > this info? Why are you asking in a Perl NG for information about Python? Or are you also asking your bac

Re: What is Expresiveness in a Computer Language?

2005-07-10 Thread Jürgen Exner
Xah Lee wrote: > What is Expresiveness in a Computer Language[...] Just for the records at Google et.al. in case someone stumbles across Xah's masterpieces in the future: Xah is very well known as the resident troll in many NGs and his 'contributions' are less then useless. Best is to just igno

Re: Xah's edu corner: on Microsoft hatred

2005-07-18 Thread Jürgen Exner
Xah Lee wrote: > Dear Joe, > > It is well known that you are an avid hater of Microsoft, from their [...] Just for the records at Google et.al. in case someone stumbles across Xah's masterpieces in the future: Xah is very well known as the resident troll in many NGs and his 'contributions' are les

Re: Jargons of Info Tech industry

2005-08-11 Thread Jürgen Exner
Xah Lee wrote: > Jargons of Info Tech industry > > (A Love of Jargons) > > Xah Lee, 2002 Feb > > People in the computing field like to spur the use of spurious > jargons. The less educated they are, the more they like extraneous [...] Just for the records at Google et.al. in case someone stumbles