FAQ

Search Discussions

51 discussions - 417 posts

  • I have a strange felling that I should just shut up, as my ideas only cause a lot of chaos... :) - RaFaL Pocztarski, admin@rfl.pl
    RaFaL PocztarskiRaFaL Pocztarski
    Oct 10, 2001 at 7:35 pm
    Oct 13, 2001 at 6:33 am
  • Piers Cawley has written a nice article entitled: "Perl 6 : Not Just For Damians". If the hair on the back of your neck rises when thinking about Perl 6, or even if it doesn't... give it a read. ...
    Garrett GoebelGarrett Goebel
    Oct 25, 2001 at 9:53 pm
    Nov 1, 2001 at 4:27 pm
  • I am implementing a textbook algo in Perl (the textbook has it written in C++) and have realized that if undef was to numericize to NaN instead of 0, there are a lot of uninitialization errors that ...
    David NicolDavid Nicol
    Oct 17, 2001 at 8:42 pm
    Jan 21, 2002 at 11:26 pm
  • I haven't seen it mentioned here yet, so for those who haven't noticed A3 is now out: http://www.perl.com/pub/a/2001/10/02/apocalypse3.html There's a lot to like here. I'll just cover 2 points for ...
    Jeremy HowardJeremy Howard
    Oct 3, 2001 at 10:48 pm
    Oct 9, 2001 at 9:28 am
  • I'm going to post my general feelings on Apoc 3. Rather than just post up about things I don't like, I'll also mention what I do like and what I just don't understand. If I don't mention a piece, it ...
    Michael G SchwernMichael G Schwern
    Oct 4, 2001 at 7:22 am
    Oct 11, 2001 at 5:43 pm
  • I just read Apocalypse and Exegesis 3, and something stuck out at me because of its omission, namely using hyper operators for reduction. $a ^+= @list; # should sum the elements of @list Larry says ...
    John WilliamsJohn Williams
    Oct 9, 2001 at 1:48 am
    Oct 11, 2001 at 6:01 pm
  • Hi, I was looking at TPJ one-liners and saw this : #32 A trick for indenting here strings ($definition = <<'FINIS') =~ s/^\s+//gm; The five varieties of camelids are the familliar camel, his friends ...
    RaptorRaptor
    Oct 13, 2001 at 3:30 pm
    Oct 17, 2001 at 6:53 am
  • Will Hyper operators work on strings as well ? e.g. ('pic1','pic2','pic3') ^_ ('.jpg') or even my @images = qw( pic1 pic2 pic3) ^_ ('.jpg'); R. -- Richard Nuttall
    Richard NuttallRichard Nuttall
    Oct 5, 2001 at 8:50 am
    Oct 7, 2001 at 8:05 am
  • For a typed subroutine with named parameters, is the declaration syntax (sans property declaration) going to be: 'sub' type ident '(' paramlist ')' block (in, say, Parse::RecDescent)? I'm thinking ...
    Brent DaxBrent Dax
    Oct 30, 2001 at 4:00 am
    Nov 8, 2001 at 7:33 am
  • Hi, I found a thread which started with A proposal for more powerful text processing to be built in to Perl: Flex and Pushdown Expressions. * ... Why change perl ? It is possible to use flex directly ...
    Nadim KhemirNadim Khemir
    Oct 23, 2001 at 12:51 pm
    Nov 8, 2001 at 12:49 am
  • So, in the … operator, the filter is the adverb: $sum = … @costs : {$^_ < 1000}; Does that mean that in the built-in print, the file handle is the only "in-band" argument, and all the actual items to ...
    John SiracusaJohn Siracusa
    Oct 7, 2001 at 2:20 am
    Oct 10, 2001 at 2:17 pm
  • Hello all, I have been using Perl for years. It is the language of choice for most of my needs. This is my first time posting. I have read Apocalypse 3 and many of your responses. Issues: 1) Binary ...
    Erik LechakErik Lechak
    Oct 6, 2001 at 8:55 am
    Oct 8, 2001 at 8:44 am
  • Can I get a .car and a .cdr please? In my limited mind "key" and "value" are specific to hashes and their wimpy brother associative lists. -sam Can I get a what what?
    Sam TregarSam Tregar
    Oct 5, 2001 at 10:40 pm
    Oct 7, 2001 at 6:38 pm
  • Thank you. For those who aren't yet busy reading, you can find it at: http://www.perl.com/pub/a/2001/10/03/exegesis3.html
    Garrett GoebelGarrett Goebel
    Oct 5, 2001 at 8:30 pm
    Oct 6, 2001 at 12:32 am
  • 6

    AOP

    In reading the Oct'01 issue of Communications of the ACM, I find myself intrigued by the concept of aspect oriented programming (AOP). The basic idea is that some methods in an object tree have ...
    Aaron ShermanAaron Sherman
    Oct 24, 2001 at 3:43 pm
    Oct 24, 2001 at 8:15 pm
  • Nope. my @a; @a ^= 0; print @a Are you saying that this should print an infinite number of zeros? -- Aaron Sherman ajs@ajs.com finger ajskey@b5.ajs.com for GPG info. Fingerprint: www.ajs.com/~ajs ...
    Aaron ShermanAaron Sherman
    Oct 22, 2001 at 7:07 pm
    Oct 22, 2001 at 11:43 pm
  • Does the change from ?: to ??:: mean that we can have '?' as a valid character in an identifier? I quite like the ruby/scheme idiom of having boolean methods ending in a question mark. eg: sub ...
    Piers CawleyPiers Cawley
    Oct 9, 2001 at 10:23 am
    Oct 9, 2001 at 9:33 pm
  • Hello! Is this going to concat $a,$b and $c? $foo = _($a,$b,$c); (One way to save underlines and spaces.) Or would that be: $foo = _@($a,$b,$c); BTW: what will these do? $a _=_ ($b,$c); $a ^_= ...
    Edwin SteinerEdwin Steiner
    Oct 6, 2001 at 1:31 pm
    Oct 7, 2001 at 10:49 am
  • hi, will it be possible to do this inside Perl program : use parrot; ...parrot code... no parrot; OR sub mysub is parrot { .... parrot code ... } ===== iVAN raptor@unacs.bg =====
    RaptorRaptor
    Oct 20, 2001 at 7:12 pm
    Oct 21, 2001 at 9:12 pm
  • Hi to all, I have been thinking lately about hyperoperators, and particulary about its similarity with RFC 207 (Arrays: Efficient Array Loops) For the ones that don't have the RFC in mind, I copy its ...
    Angel FausAngel Faus
    Oct 11, 2001 at 5:58 pm
    Oct 13, 2001 at 5:14 pm
  • If we are in the mood of changing operators, && can be /\ and || can be \/. At least, mathematicians will like it! Cheers Albie --
    Alberto Manuel Brandao SimoesAlberto Manuel Brandao Simoes
    Oct 10, 2001 at 3:36 pm
    Oct 10, 2001 at 8:45 pm
  • Okay, so this: 100 < -s $filepath <= 1e6 really means this: 100 < -s $filepath && -s $filepath <= 1e6 which means that this: $a == $b != NaN really means this: $a == $b && $b != NaN But "$a == $b != ...
    John SiracusaJohn Siracusa
    Oct 7, 2001 at 2:02 am
    Oct 10, 2001 at 11:44 am
  • Herein are drafty grumblings. Part of quitting smoking is that my hubris has gone back up. Here are critical first-impression notes on Apo3. Praise has been eliminated to save space. ...
    David NicolDavid Nicol
    Oct 4, 2001 at 7:01 am
    Oct 6, 2001 at 11:46 am
  • Or we could provide a trait that prevents it: my $MAXPATHLEN is unbindable const = 2048; But that's the point. We're working hard so that behaviours *will* conform to programmer expectation. It's ...
    Damian ConwayDamian Conway
    Oct 30, 2001 at 9:49 pm
    Oct 31, 2001 at 7:25 pm
  • Hyper operators with operands of different size are partly covered in A3: Hyper operators will also intuit where a dimension is missing from one of its arguments, and replicate a scalar value to a ...
    Stephane PayrardStephane Payrard
    Oct 4, 2001 at 7:49 pm
    Oct 5, 2001 at 7:48 am
  • The main motivating factor for %MY:: is so that 'use Foo' allows Foo to modify the lexical scope of its invoker, as opposed to Perl 5 where it has to modify the whole package to import symbols. ...
    Dave MitchellDave Mitchell
    Oct 29, 2001 at 3:04 pm
    Oct 29, 2001 at 3:21 pm
  • Some of you may remember (and some wish we could forget) a ramble I posted about six months back about traffic lights and language design and all the weird ways we get meaning out of such a small # ...
    Michael G SchwernMichael G Schwern
    Oct 23, 2001 at 7:41 am
    Nov 9, 2001 at 9:20 pm
  • John asked: Writing: class Demo; my @.colors is public; gives you: No. $obj.colors() takes no arguments. Yes. Yes. Arrays and array refs are (generally) interconvertable in Perl 6. Yes. Yes. Yes. Yes ...
    Damian ConwayDamian Conway
    Oct 30, 2001 at 10:12 pm
    Oct 31, 2001 at 1:07 am
  • I would assume it's an error. foo() expects two arguments before the (implicit) colon, but you gave it only one. Error. Expected one invocant but found two. No. The ^ is on the method call, not on ...
    Damian ConwayDamian Conway
    Oct 30, 2001 at 10:40 pm
    Oct 30, 2001 at 11:57 pm
  • John Siracusa: # Okay, so we've got these guys auto-created if we want: # # method foo is lvalue { return $.foo } # # (plus or minus the syntax) which lets us do: # # $obj.foo = 5; # print $obj.foo; ...
    Brent DaxBrent Dax
    Oct 30, 2001 at 5:12 pm
    Oct 30, 2001 at 5:28 pm
  • Okay, I think I understand how we're going to be mapping from an operator to a function name in most cases. But what about the ternary operator? operator:??:: Or something else. I'm assuming ...
    Piers CawleyPiers Cawley
    Oct 17, 2001 at 7:21 am
    Oct 17, 2001 at 9:03 pm
  • Hi: I have a HASH file that contains : domain1.co.uk ACCEPT domain2.co.uk ACCEPT domain3.co.uk ACCEPT I am using the following code to check that a key exists. The problem is that it never finds it! ...
    Phil DawsPhil Daws
    Oct 16, 2001 at 3:49 pm
    Oct 17, 2001 at 12:29 am
  • The section of Apocalypse 2 'Other Decisions About Variables' states: "$#foo is gone. If you want the final subscript of an array, and [-1] isn't good enough, use @foo.end instead." Here is an ...
    Mike DepotMike Depot
    Oct 11, 2001 at 1:56 pm
    Oct 11, 2001 at 2:19 pm
  • U mean something like 'term' (or how this thing is called 'bareword' ? ) So I can say : # $x = 10k; my sub operator:number is postfix(k) ($num) { return $num * 1000 } # $x = 10K; my sub ...
    raptorVDraptorVD
    Oct 10, 2001 at 5:29 pm
    Oct 10, 2001 at 5:45 pm
  • In Python there are two string representations for objects: the canonical representation repr() and the normal (human readable) string representation str(). Would we want this dichotomy in perl 6 as ...
    Jonathan Scott DuffJonathan Scott Duff
    Oct 9, 2001 at 8:13 pm
    Oct 9, 2001 at 9:01 pm
  • I suspect it will actually require *less* lookahead than Perl 5 would. As soon as it encounters the $^_ it knows it's seeing a higher-order function. Damian
    Damian ConwayDamian Conway
    Oct 8, 2001 at 4:22 am
    Oct 9, 2001 at 9:49 am
  • I unconsciously typed *both* //= and $( ... ) today :P ;) -John
    John SiracusaJohn Siracusa
    Oct 8, 2001 at 8:41 pm
    Oct 9, 2001 at 6:44 am
  • Now, I just tried it on perl5.6.1, and roughly speaking he's right. I get eight. They are: /usr/local/lib/perl5/5.6.1/sun4-solaris/B/Concise.pm SVOP (0x20c7a0) const PV (0x217ac4) "bit_and" SVOP ...
    Esp5Esp5
    Oct 4, 2001 at 6:53 pm
    Oct 9, 2001 at 1:02 am
  • Are these the same thing? print _@{$data.{costs}}; print $data{costs}; -John
    John SiracusaJohn Siracusa
    Oct 6, 2001 at 10:54 pm
    Oct 7, 2001 at 8:13 am
  • Is the following correct for := : left side is like function in the respect that the right side is treated differently depending on the left-side-types i.e. left side is like prototype!! for the ...
    RaptorRaptor
    Oct 5, 2001 at 11:04 am
    Oct 6, 2001 at 12:19 am
  • John icked: [For the benefit of those playing along at home, the smiley there indicates that John knows better. The fruit() method would only be auto-generated if the $.fruit attribute had been ...
    Damian ConwayDamian Conway
    Oct 30, 2001 at 10:27 pm
    Oct 30, 2001 at 10:27 pm
  • Is it too late for RFCs? How does one get approved for submission these days? Or, do we just mail them off to perl6-rfc@perl.org? =head1 TITLE Anonymous classes =head1 VERSION Maintainer: Aaron ...
    Aaron ShermanAaron Sherman
    Oct 24, 2001 at 6:53 pm
    Oct 24, 2001 at 6:53 pm
  • Hufgo suggested: Ah, but that's a SMoP, left as an exercise to the reader. ;-) Damian
    Damian ConwayDamian Conway
    Oct 23, 2001 at 1:50 am
    Oct 23, 2001 at 1:50 am
  • I'm back. I notified Simon on the tenth that I was going to be away until today. I'm trying to catch up on the nine-hundred-odd messages the p6? and p5p have thrown at me, so I may be realistically ...
    Brent DaxBrent Dax
    Oct 22, 2001 at 6:13 am
    Oct 22, 2001 at 6:13 am
  • http://www.cl.cam.ac.uk/~cu200/Prover/index.html
    David NicolDavid Nicol
    Oct 11, 2001 at 12:49 pm
    Oct 11, 2001 at 12:49 pm
  • Okay, I've finished version 0.02 of babyperl. In addition to constants, variables, operators, and functions, it now understands comments (in a rudimentary way--watch out if a constant string contains ...
    Brent DaxBrent Dax
    Oct 11, 2001 at 4:31 am
    Oct 11, 2001 at 4:31 am
  • hi, Any idea what the "continuation" will be ? Something similar like while(){..}continue{..} construct, but more primitive/lower-level ? { my $val = 10 } -= { print $val; $val = 11 } -= { print $val ...
    RaptorRaptor
    Oct 10, 2001 at 12:32 pm
    Oct 10, 2001 at 12:32 pm
  • Alberto Simoes wrote: :2) using ^ for mapping operators.. this only works with two lists. :The problem here is that we have a pair of lists, and want a :list of pairs. There can be other situations ...
    Hugo van der SandenHugo van der Sanden
    Oct 9, 2001 at 12:16 pm
    Oct 9, 2001 at 12:16 pm
  • Hi! Is there any possibility to discuss operators from apocalypse 3? Here goes my thoughts: 1) ?: operator is very common to C programmers and should not be changed to ??::. I agree that the ':' can ...
    Alberto Manuel Brandao SimoesAlberto Manuel Brandao Simoes
    Oct 9, 2001 at 9:55 am
    Oct 9, 2001 at 9:55 am
  • I changed it after this exchange between us: After which I mistakenly took your silence for consent (instead of overwhelmedness ;-) I'll have the Perl Ministry of Truth rewrite it retroactively, ...
    Damian ConwayDamian Conway
    Oct 9, 2001 at 7:35 am
    Oct 9, 2001 at 7:35 am
Group Navigation
period‹ prev | Oct 2001 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions51
posts417
users64
websiteperl6.org

64 users for October 2001

Damian Conway: 82 posts Aaron Sherman: 37 posts RaFaL Pocztarski: 23 posts Michael G Schwern: 21 posts Jonathan Scott Duff: 20 posts John Siracusa: 18 posts Piers Cawley: 18 posts Bart Lateur: 17 posts Brent Dax: 16 posts Dan Sugalski: 14 posts David Whipp: 12 posts Jeremy Howard: 10 posts Glenn Linderman: 8 posts Larry Wall: 8 posts Raptor: 7 posts David M. Lloyd: 6 posts Colin Meyer: 5 posts David Nicol: 5 posts Bryan C . Warnock: 4 posts Edwin Steiner: 4 posts
show more
Archives