FAQ

Search Discussions

7 discussions - 46 posts

  • So, I must ask, what does this do: sub foo() { return my $self = { print "Block"; return $self; } } my $block = foo; print "Main"; $block(); print "End"; That is, the block returns from a function ...
    Luke PalmerLuke Palmer
    Oct 2, 2003 at 8:00 am
    Oct 16, 2003 at 7:47 am
  • Presuming you can do: (who = $name, why = $reason) := (why = $because, who = "me"); (from A6) Does that imply that you can do: sub routine (name = $nombre, date = $fecha) {...} Anyway, I just ...
    Luke PalmerLuke Palmer
    Oct 24, 2003 at 6:57 am
    Oct 28, 2003 at 8:37 pm
  • The Perl 6 Summary of the week ending 20031005 Hello, good evening, and welcome from the teeming metropolis that is Newcastle/Gateshead, home of The Angel of the North, the Winky Eye Bridge, the ham ...
    Piers CawleyPiers Cawley
    Oct 7, 2003 at 5:47 am
    Oct 29, 2003 at 7:34 am
  • I just reread the section of A6 about currying, and I have several questions about it. 1) Suppose I have a function like the following: sub foo($param, @param) {...} where the parameter names differ ...
    Joe GottmanJoe Gottman
    Oct 30, 2003 at 1:33 am
    Oct 31, 2003 at 4:02 am
  • How do you declare a function that doesn't return anything? For instance, a C++ swap function might be declared template <class X void swap(X &x, X &y); It would be nice to declare the corresponding ...
    Joe GottmanJoe Gottman
    Oct 14, 2003 at 11:46 pm
    Oct 15, 2003 at 12:02 am
  • Which it now is. Although, there are some internals issues, too, so I wonder how we can do this. How about, when someone responds to either an -internals- or a -language-specific question, he directs ...
    Luke PalmerLuke Palmer
    Oct 5, 2003 at 10:01 pm
    Oct 5, 2003 at 10:34 pm
  • Parrot 0.0.13 "Screaming Pumpkin" Released! Your new Bluza[1] proudly presents Parrot 0.0.13 Halloween edition[2]. Proposed originally as a fun release it has a remarkable list of improvements, ...
    Leopold ToetschLeopold Toetsch
    Oct 31, 2003 at 2:12 pm
    Oct 31, 2003 at 2:12 pm
Group Navigation
period‹ prev | Oct 2003 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions7
posts46
users19
websiteperl6.org
Archives