cify
the location of parrot_config.
[...@phil_k_sebben rakudo]$
Thank you for all you great work with Perl 6
Respectfully.
--
Michael
ble. The only thing it does is serve to
make a shell programmer's introduction to Perl easier, maybe. Is this
really a reason to take a feature away from the rest of us?
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
batted around when the lists were first started; I don't recall
what became of it.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
times, and this would increase their
> frequency.
Well, sure, if the check for a use ignores conditionals, it could be very
useful. Isn't your whole point, though, to warn when the user uses a value,
in any way, that has never been initialized? That's not quite the same
thing.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
"temporary" (yes, that
> is supposed to be annoying to type) or "dynamic".
Someone has:
RFC19 "Rename the C operator" http://tmtowtdi.perl.org/rfc/19.pod
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
mbiguous uses of barewords.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
'}
No ambiguity here.
use Foo;
require Foo;
package Foo;
%foo = (bar => "baz");
All exceptions to the rule.
$foo{bar}
There's one you didn't mention. Currently it's unambiguous, you have to use
$foo{+bar} or $foo{bar()} to get a subroutine call.
Did I miss anything?
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
've personally never had any problems with this:
>
>$q = CGI->new
>
> Accidentally calling CGI()->new. Has anyone else really? Or is this a
> theoretical concern?
This is not a theoretical concern. If someone, at some point, defines sub
CGI {} your constructor sud
ssible in Perl 5 but I have missed it?
How about:
my $foo = Foo->create();
my $methodref = sub { $foo->method(@_) };
&$methodref();
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
place
was to solve the problem of multiple, pointless, only-there-to-set-@ISA,
classes to serve MI. How often is MI really used? Would this solution
greatly speed up MI? Would it greatly reduce the speed and memory
efficiency of the large body of OO code that doesn't use MI? T
"RESPONSIBLE" - is that like "BLAMEABLE"? *smile*
Mike
On 21/11/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 20, 2005, at 22:09, Joshua Hoblitt wrote:
>
> > I've like to nominate Jerry for an entry in RESPONSIBLE_PARTIES as the
> > test suite maintainer. Thanks for all your work
o use something wrapped around TAP would be to collect other
information that TAP does not provide, like platform, date and time run, time to
completely run, and if applicable developer name.
Does any of this seem reasonable? Overkill? Already done?
Thanks,
--
Michael Peters
Developer
Plus Three, LP
Adam Kennedy wrote:
> Michael
>
> There's existing work happening in this area you may want to get
> involved in. We even have a draft XML schema that does exactly what you
> are talking about.
>
> Go read http://ali.as/pita/
Definitely an interesting project. It i
Stevan Little wrote:
> Michael,
>
> You might want to look at some of the work on the Pugs test suite.
>
> http://m19s28.vlinux.de/cgi-bin/pugs-smokeserv.pl
>
> It uses (among other things) Test::TAP::Model and
> Test::TAP::HTMLMatrix, and uses YAML as an inte
Pardon my ignorance here.
>From an application programmer's (which is what I used to be) point of view
I'd want to be able to write/use code from multiple HLLs without any danger
of them stamping all over each other's data.
I'd assumed Parrot would be enforcing namespace integrity and not assumin
ecause I find the
way that people work together here interesting.
Mike
--
Mike Lacey
Project Manager
Partner Services
07717 458 268
On 02/12/05, Roger Browne <[EMAIL PROTECTED]> wrote:
>
> Michael Lacey wrote:
> > I'd want to be able to write/use code from multiple HLLs with
STDOUT or STDERR will probably
have problems.
* The usual persistent environment caveats apply: be careful with
redefined subs, global vars; 'require'd code only gets loaded on the
first request, etc.
* Test scripts have to end in a true value.
If there's interest, I'll try to package all this up into a CPAN module.
Michael
---
Michael Graham <[EMAIL PROTECTED]>
On Tue, 2005-12-06 at 21:13 +0100, Leopold Toetsch wrote:
> > If it helps - the t/perl/manifest test hangs on test 3. Looking at the
> > source, looks like someone intended a diag message to warn that it
> > would
> > appear to hang, but the diag doesn't get printed out until after the
> > fact.
>
On Tue, 2005-12-06 at 18:38 -0500, Michael Cummings wrote:
t/perl/manifest..Can't exec "svk": No such file or
directory at t/perl/manifest.t line 38.
ok
1/3 skipped: Not a working copy
Not a patch, but a better explanation of the problem. There is a f
I realize I'm talking to myself at this point (last post, promise), but
my last message failed to explain the paste at the top. On a box without
svk, using the 0.4.0 released tarball, all is fine (t/perl/manifest.t is
skipped/failed quickly). However, if a user has svk installed and
attempts to run
On Wed, 2005-12-07 at 02:18 +0100, Leopold Toetsch wrote:
> On Dec 7, 2005, at 0:29, Michael Cummings wrote:
>
> On that hardware it certainly shouldn't need minutes to finish. It's
> just strange:
> This is on a PowerBook G4 with 1.2 GHz - certainly not a fast syst
be used to remove test data before the next text runs.
That's another caveat with the PersistentPerl approach - END blocks seem
only to run on the first request.
Michael
---
Michael Graham <[EMAIL PROTECTED]>
> Thanks for your write-up Michael, it was really helpful.
>
> I would definitely like to see this published.
I will try to release this eventually, but in the meantime, I just
learned something else pretty cool.
Getting PersistentPerl to reload a module is as simple as deleting the
Mark Stosberg wrote:
> On 2005-11-22, Michael Peters <[EMAIL PROTECTED]> wrote:
>
>>
>>Stevan Little wrote:
>>
>>>Michael,
>>>
>>>You might want to look at some of the work on the Pugs test suite.
>>>
>>>http://m19s28.v
Mark Stosberg wrote:
> On Tue, Dec 13, 2005 at 02:01:18PM -0500, Michael Peters wrote:
>
>>>>>It uses (among other things) Test::TAP::Model and
>>>>>Test::TAP::HTMLMatrix, and uses YAML as an intermediate test-run format.
>>>>
>>>>
ease. I know I've caught myself several times when my tests
run just fine, I upload to CPAN and then differences in the way the CPAN shell
runs my tests cause it to fail. It would have been nice to catche these failures
before others start upgrading.
--
Michael Peters
Developer
Plus Three, LP
a couple of modules where a lot
of skips are the norm.
Michael
[1] http://search.cpan.org/dist/Config-Context/
http://search.cpan.org/dist/CGI-Application-Plugin-Config-Context/
http://search.cpan.org/dist/CGI-Application-Plugin-AnyTemplate/
[2] HTML::Template is required because it's
in comparing 2 schemas and show what differences there might, or might not be.
It's all part of the sqlfairy.sourceforge.net project.
--
Michael Peters
Developer
Plus Three, LP
ues with incompatible versions or strange Apache configs. Never
having to worry about this application screwing with some other application. And
this benefit will only increase when we have relocatable Perls in a few months
:)
--
Michael Peters
Developer
Plus Three, LP
http://sourceforge.net/project/screenshots.php?group_id=161136
And other details here:
http://sourceforge.net/projects/smolder/
While completely functional, this is an alpha release so it is not feature
complete.
--
Michael Peters
Developer
Plus Three, LP
Yuval Kogman wrote:
> On Sat, Mar 04, 2006 at 09:09:00 -0500, Michael Peters wrote:
>> It's very similar in nature to the Pugs smoke test server, but is completely
>> project agnostic. It's also completely self contained (contains local copies
>> all
>> of
se Class::Trigger could not
> be found - it doesn't seem to be included in the package, although
> lib/Class/DBI.pm uses it. SO for the moment, I'm stuck.
Thanks for catching this. I've uploaded 0.02 to sourceforge. Could you give that
a try?
--
Michael Peters
Developer
Plus Three, LP
Matisse Enzer wrote:
>
> On Mar 5, 2006, at 3:15 PM, Michael Peters wrote:
>>
>> Matisse Enzer wrote:
>>> After some trouble, I managed to create a distribution tarball for my
>>> patched Redhat 8 system from smolder-0.01-src using
>>> bin/smolder_
t::More, etc) that print to STDOUT/STDERR, right?
And there sure are a lot of them. If I had any TAP producing test
modules on CPAN I'd volunteer to change them :)
--
Michael Peters
Developer
Plus Three, LP
ee that there is a difference between them. They are
both comments output by the tests. Just because one comes from the
testing routine used by the test and the other from the test itself
doesn't mean they aren't both just human readable comments on the test run.
--
Michael Peters
Developer
Plus Three, LP
but parse TAP. Then
it could be used in all kinds of test harness permutations.
--
Michael Peters
Developer
Plus Three, LP
Shlomi Fish wrote:
> On Monday 24 April 2006 01:46, Michael Peters wrote:
>> Shlomi Fish wrote:
>>> On Sunday 23 April 2006 22:35, chromatic wrote:
>>>> On Sunday 23 April 2006 12:05, Shlomi Fish wrote:
>>>>> This debate demonstrates why a plugin
Like Thomas, I'm interested in having a go, in my case I'd like to
install something I can play with. The link is appreciated but what I
was hoping for was a simple set of instructions for just installing
Perl6 (maybe I missed it--sorry) . Does such a thing exist?
Regards,
Michael Ma
t;[EMAIL PROTECTED]> wrote:
On 5/18/06, Michael Mathews <[EMAIL PROTECTED]> wrote:
> Like Thomas, I'm interested in having a go, in my case I'd like to
> install something I can play with. The link is appreciated but what I
> was hoping for was a simple set of instructions f
Yep, I knew what you meant! I'm in the process of writing this up
right now, assuming I can finish compiling Haskell sometime this week
(it ain't exactly a fast compile, hrmph).
--Michael Mathews
On 21/05/06, James Peregrino <[EMAIL PROTECTED]> wrote:
You folks took me too
! Nice one, and many many thanks for that.
--michael
On 22/05/06, David Romano <[EMAIL PROTECTED]> wrote:
Hi everyone,
I fiddled around with PackageMaker and created packages for Pugs
(r10396) and Parrot (r12747) for OS X. I used my laptop to check if
they installed everything properly, an
is mailing list).
Okay, New Zealand and Australia have "parrots" but the connection is a
stretch. Isn't Larry and/or Damian from Australia? Maybe that's the
connection?
I'm just askin'...
--michael
On 23/05/06, Conrad Schneiker <[EMAIL PROTECTED]> wrote:
Ple
ted, maybe wiped
clean regularly, and restricted in the necessary ways... Is this even
possible? I'm not a sys. admin, but I thought I'd throw that out
there. Any one think that would be useful and possible, and want to
suggest a way to proceed with that?
--michael
Um, yes anyone wanna work on a tryperl6 virtual shell?
--michael
On 23/05/06, Randy W. Sims <[EMAIL PROTECTED]> wrote:
Maybe something along the lines of <http://tryruby.hobix.com/>
Randy.
s wiki" or
will there be, or is that a different question?)
--michael
On 24/05/06, Conrad Schneiker <[EMAIL PROTECTED]> wrote:
> From: Michael Mathews
>
> I for one, think a Perl6-users wiki would be extremely useful, I'm
> just not sure why a site that distingui
(for me at least) would help.
--michael
On 24/05/06, Michael Mathews <[EMAIL PROTECTED]> wrote:
Hi Conrad,
It's only an issue of coordination and findability. But that question
depends on what the intended purpose of the wiki would be. For example
there is nothing stopping anyone (i
Open Question:
I realise I haven't kept up with every detail since the Perl6 RFC I
submitted way back in August 2000, but boy was I surprised to find,
now that I can actually use Perl6, it isn't just an improvement to
Perl (5), it's actually a "different language" (I&
t
relying on developer self-discipline).
Is there something in Perl 6 akin to a "use strict" switch that will
apply the straightjacket some projects need, and thus force typing of
all variables. (Then I could have a good comeback for those damned
Java guys.)
--michael
On 24/05/06, Daniel
O should
definitely make the short list. I personally never had a problem with
Perl's speed. If I wanted speed I'd write it in C -- for what I do
Perl is already fast enough -- but manager-types have a natural
affinity to efficiency. Faster, better, easier? Yeah that's salable.
:-)
-
Oh "try"! I like that! But is CATCH implemented in pugs? Anyone care
to give a working example of try/CATCH?
--michael
On 25/05/06, Yuval Kogman <[EMAIL PROTECTED]> wrote:
To complement string eval with eval { } (now called try):
try {
die "f
put perl 6 under the pugs subdomain, that was just an
example.
--michael
On 25/05/06, Conrad Schneiker <[EMAIL PROTECTED]> wrote:
(Responding to 3 notes on 2 mail lists here; Changed subject line.)
Juerd wrote:
> Feather, the semi-public, semi-private, Perl 6 development server, is
&g
THAT were true then it would be revolutionary and businesses
would be fighting to get their hands on it (once it was stable and
proven). Much more inviting than saying Parrot will allow lots of
different languages to start sprouting up in unexpected areas of the
company's code base.
--michael
$c = $a + b;
The reason this would make an IT Manager cry is not (promarily)
because it is slow (etc, etc), it also means she now has to keep a
Java/PHP/Perl programmer around and happy whenever one of three
different languages might throw a buggie.
--michael
On 26/05/06, Dr.Ruud <[EMA
fferent languages together.
Nevermind how cool/useful I personally think that is.
--michael
On 26/05/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
* Michael Mathews <[EMAIL PROTECTED]> [2006-05-26 12:45]:
> In the end it was decided to rewrite that chunk in Perl. I can
> tell you, there definitely was cursing in the office that day,
> and I doubt anyone there woul
expansion code.
Also I'm volunteering now for whatever anyone needs -- I'll waive the
money if that's gonna stop you from accepting my help. :)
--michael
Thinking about the wiki on 6 challenge (would that be a "pliki"? a
"sixwiki"? a "plixi"? erm-) I think the first hurdle would be getting
CGI going on 6. Is this already proven? If so how?
I'm investigating this now, but if someone wants to offer a working example...
--michael
# TODO: deal with URI encoding
# similar to perl5: s/%(..)/pack("c",hex($1))/ge;
#TODO: handle multiple values and same key
%q.{$n} = $v;
}
for (%q.keys) { say $_, " => ", %q.{$_}, ""; }
end code
--michael
hat matter
can anyone give a working (under pugs) example of a simple
substitution using Perl6 regex, "+" => " " for example?
--michael
Do I need to do something special to get the
substitute-affected value back? I get the same result with s:p5. Also
is the operator "~~" or "=~"? I've found contradictory references to
both in books and online.
--michael
On 28/05/06, Juerd <[EMAIL PROTECTED]> wrote:
Michael Mathews skribis 2006-05-28 15:46 (+0100):
> Also is the operator "~~" or "=~"? I've found contradictory references
> to both in books and online.
It was "=~" in Perl 5, but it's &quo
Perl 6*.
$foo ~~ s:Perl5:g/\+/ /;
¡Aye Carumba! That works! Your cheque is in the email. I swear. :-)
--michael
values and same key
%q.{decode($n)} = decode($v);
}
for (%q.keys) { say $_, " => ", %q.{$_}, ""; }
sub decode($input is rw) {
#TODO: handle wide characters?
$input ~~ s:Perl5:g/\+/ /;
$input ~~ s:Perl5:g/%(..)/{chr(:16["0x$0"])}/;
return $input;
}
--michael
$n}.push($v) }
}
for (%q.keys) { say "$_ => "~%q.{$_}.join(', ')~'' }
sub decode($input is rw) {
$input ~~ s:Perl5:g/\+/ /;
$input ~~ s:Perl5:g/%(..)/{chr(:16["0x$0"])}/;
}
--michael
PS Sorry, read the fine print. I'm not Columbia
o find) but any advice you give
could possibly be a learning experience for more than just me.
--michael
On Mon, May 29, 2006 at 05:28:53PM -0700, Ovid wrote:
> I also tried to do this:
> my ($n, $v) = $nv.split('=').map(decode($_));
> That and a number of other variants all failed miserably with errors similar
to:
> Can't modify constant item: VStr ...
Many thanks to Joel and ovid, your sugge
e; and 2) XML::Parser;
--michael
On 30/05/06, Larry Wall <[EMAIL PROTECTED]> wrote:
On Tue, May 30, 2006 at 07:56:40AM +0100, Michael Mathews wrote:
: Strangely %q<$n>.push($v); doesn't
: work, but %q.{$n}.push($v); does. What's the difference?
The first is equivalent to %q{'$n'}.push($v).
I
Mail tries to be
"helpful" by rearranging how the reply addresses are handled. You must
press "reply all" then rearrage the To: and CC: fileds, as I am about
to do now. Grrr
--michael
it ain't going to automatically become more secure just because no
one outside the company has seen it!
--michael
lf for various
purposes, in addition to the collection of included
extensions/modules. Maybe one that would be specially tuned and
tweaked to do parsing, but not so fast at banking; and another
tricked-out for a different purpose? Same language syntax, just
differently tuned engines?
--michael
If LWP isn't on the list I give it a vote.
--michael
s way of
thinking, imho, is a Good Thing, and I wouldn't mind seeing it
emulated in Perl6 modules.
--michael
On 02/06/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
* Michael Mathews <[EMAIL PROTECTED]> [2006-06-02 12:10]:
> I would also point to PHP's fread() (and friends) functions,
> which take "filenames" in the form of "C:\\blah" or
> "http://foo
or a winning wiki
(eg "to get the grand you must use perl 6 Grammars") or is this more
of a community effort to actually produce a wiki? Not sure where that
prize thread ended up.
--
Michael
s) and
then provides some basic reports. It can even email developers when a test fails
unexpectedly.
--
Michael Peters
Developer
Plus Three, LP
ndup, where the community made proposals and then Larry sorted
them out? Or who shall be the judge?
--michael
to get into Perl again. I've
not used it since version 4!
Welcome home, my brother. Hopefully the distinction between these
different communities will begin to blur as Parrot learns to speak
more languages.
--michael
r discard the work, or give the work to the guy who already
has a grand in his pocket?
Just some random thoughts there, this thread seems to have gone a bit quiet!
--michael
o demo/test/run the latest perpetual
beta release. What say you, Conrad?
--michael
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Johnson wrote:
> On Fri, Jun 16, 2006 at 12:43:11PM +0530, Rajanikanth Dandamudi wrote:
>
>> Hi All,
>>
>> Can some one help me understand why I am getting the following message
>> on the following perl program :
>>
>> perl program
>> ==
- awesome
> not ok 3
>
> I believe we also have an ACTION: tag.
another useful meta info for TAP:
# LINENO: (pugs links test messages to higlighted version of the test script)
--
Michael Peters
Developer
Plus Three, LP
est::Harness::* modules.
--
Michael Peters
Developer
Plus Three, LP
ort comments, so I'm
not sure why those modules do that.
This doesn't resolve the problem of non-test modules emitting things to STDERR
that could be useful when tracking down bugs, but what they might print is not
TAP, so can't really be associated with particular tests.
--
Michael Peters
Developer
Plus Three, LP
ber) then Test::Builder will automatically emit
these attributes. This could be controlled by the environment, so that under
normal testing the developers don't see too much clutter, but the harness itself
could ask the tests to emit as much data as it wants.
--
Michael Peters
Developer
Plus Three, LP
"Audrey Tang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Unfortunatelly, those of us who use Perl under Windows / MSVC Compiler
cannot use v6.pm, due to the fact that it has an indirect dependency on
Devel::Caller which fails to work using that compiler combination (i.e.,
fail
e.org – I don’t follow
> why this is a problem. And I certainly prefer talking SQL at a
> database than writing throwaway helper script code to manipulate
> serialised data structures.
And if you use DBD::SQLite you don't even need that. I has everything you'd
need.
--
Michael Peters
Developer
Plus Three, LP
ing mysub
Printing scalar
foo
Printing array
foobar
Printing hash
foo barfoo2 bar2
Leaving mysub
Starting mysub
Printing scalar
foo
Printing array
Printing hash
Leaving mysub
Just wondering if the language is meant to work that way, or if it's a pugs
"feature."
Thanks,
Michael
using zip. What would be the difference then between a
hyper-fatarrow and zip in this case?
Michael
27;re wondering, the program I wrote is a simple little webpage with two
buttons so my wife can play music off my Linux box (with good speakers) from
her laptop (with bad speakers), so I don't really need this to be a very
stable setup, it's mostly for curiosity's sake.
Michael
foo, %foo);
mysub(:foo($foo), :foo(@foo), :foo(%foo));
Output:
Starting mysub
Printing scalar
foo
Printing array
foobar
Printing hash
foo barfoo2 bar2
Leaving mysub
Starting mysub
Printing scalar
foo
Printing array
Printing hash
Leaving mysub
Just wondering if the language is meant to work that way, or if it's a pugs
"feature."
Thanks,
Michael
that's asking the impossible, but it seems to me
like a simple solution.
Michael
n tests
I realize that there are lots of modules to look at in the Pugs
distribution, but as far as I can tell they are meant to be built from
within the Pugs source tree, and since my code clearly won't be living there
I'd rather not write it there either.
Thanks,
Michael
ything that the
regex matched should be replaced by baz." I think that's a pretty intuitive
way of handling the problem.
Michael
same
effect, but it seems that fork also isn't available. Was I missing
something, or are these just features that I need to wait for?
Thanks,
Michael
On 9/8/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
在 Aug 25, 2006 12:54 AM 時,Michael Snoyman 寫到:
> I was thinking of rewriting
other hand, that might be the kind of feature that needs to be done
in a seperate module. In any case, I'd be happy to help out with writing
it; I'm just not entirely certain of how it should work.
Michael
ync statement, but haven't tested it.
Michael
I just recently got interested in Perl 6 (within the past two months), and I
found that reading the book was a good kick-start. Sure, lots of stuff has
changed, but many of the general ideas still seem to hold true.
Michael
On 9/18/06, Agent Zhang <[EMAIL PROTECTED]> wrote:
On 9
nown as PIR).
Not to nitpick, but second addition *does* mention the switch from IMCC to
PIR ;)
Michael
ing random test code, which the more experienced in the Perl 6 world
could then tweak so that eventually, we should have a very broad sample of
code that the community has decided looks right.
Michael
1 - 100 of 1995 matches
Mail list logo