Re: Unintended consequences

2006-05-22 Thread David H. Adler
On Mon, May 22, 2006 at 09:45:31PM -0500, Andy Lester wrote: > Here's an example of why I'm not real excited about CPANTS: > > http://community.livejournal.com/perl/120747.html You mean the fact that there's a perl community on LJ? :-) dha -- David H. Adler - <[EMAIL PROTECTED]> - http://www.p

Re: parrot and pugs builds for os x

2006-05-22 Thread David Romano
Hi everyone, On 5/22/06, Michael Mathews <[EMAIL PROTECTED]> wrote: Hi David, Just downloaded both and ran the installers on my iBook G4 with OS X 10.4.6 (and ghc-6.4.2). So it just worked. I can now pugs -e 'say "hello";' with the rest of them. But I only wish I'd had this three days ago, /be

Re: hyp-op examples of a Bag type in S03

2006-05-22 Thread Darren Duncan
At 4:11 PM +1200 5/23/06, Sam Vilain wrote: Darren Duncan wrote: $bag1 >>-<< 1; # Bag(2,7,[1,Seq(8,2)],7) $bag2 >>-<< (1,1,1,1); # probably the same > $bag3 >>-<< (1,1,2,1); # ? Bag's won't .does(Array) or .does(Coll[Seq,...]), so that hyperoperator won't work - if anyt

Re: Getting to hello world?

2006-05-22 Thread Gabor Szabo
On 5/23/06, James E Keenan <[EMAIL PROTECTED]> wrote: Gabor Szabo wrote: > On Ubuntu it was quite straigt forward, I think this is everything I > needed: > > sudo apt-get install subversion > sudo apt-get install ghc6 > Given that, in the above, you installed subversion and ghc6 for all users .

Re: hyp-op examples of a Bag type in S03

2006-05-22 Thread Sam Vilain
Darren Duncan wrote: > $bag1 >>-<< 1; # Bag(2,7,[1,Seq(8,2)],7) > $bag2 >>-<< (1,1,1,1); # probably the same > $bag3 >>-<< (1,1,2,1); # ? > > Bag's won't .does(Array) or .does(Coll[Seq,...]), so that hyperoperator won't work - if anything it would try to add the (1,1,1,1) li

Re: packages vs. classes

2006-05-22 Thread Sam Vilain
Larry Wall wrote: >'Course, I left out everything about prototype objects there... > >The name Foo also (in context) represents an uninitialized object of >the class in question. Any object, initialized or not, can get at >its type handlers by saying > >Foo.meta >$foo.meta > >and, in fact

Newbe: How do I configure @*INC ?

2006-05-22 Thread John M. Dlugosz
I downloaded the Win32 binary of pugs from . The @*INC directories are pointing to the wrong places. Why can't it automatically populate the list based on the location of the executable, like Perl5 does? Before suggesting that I fix it myself, I must say

Unintended consequences

2006-05-22 Thread Andy Lester
Here's an example of why I'm not real excited about CPANTS: http://community.livejournal.com/perl/120747.html xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: languages/ Cleanup

2006-05-22 Thread Allison Randal
Matt Diephouse wrote: - languages/forth/ I was actually the last one to provide a patch to forth (there were some other commits that modified things like copyright info, but those don't count). That was 20 months ago. The implementation was horribly dated then and things are far worse n

Re: [perl #39164] [PATCH] Cygwin: build with spaces in build_dir

2006-05-22 Thread Matt Diephouse
via RT Greg Bacon <[EMAIL PROTECTED]> wrote: # New Ticket Created by Greg Bacon # Please include the string: [perl #39164] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=39164 > The attached patch allows parrot to build on

Re: Unintended consequences

2006-05-22 Thread Steve Peters
On Mon, May 22, 2006 at 09:45:31PM -0500, Andy Lester wrote: > Here's an example of why I'm not real excited about CPANTS: > > http://community.livejournal.com/perl/120747.html > I prefer Acme::Raise_my_kwalitee as my anti-CPANTs example. S

pugs success on osx

2006-05-22 Thread James Peregrino
Finally got my hello-world-foo on in OS X: Haskell from http://www.haskell.org/ghc/dist/6.4.1/MacOSX/GHC-6.4.1.pkg.zip parrot from svn pugs from svn My preferred enivronment would have been FreeBSD 6.1, but I can't the the ghc port to build (nor is there a package) :( -- James Peregrino

Re: parrot and pugs builds for os x

2006-05-22 Thread Will Coleda
With David's permission, added to: http://www.parrotcode.org/source.html Thanks for putting the build together! On May 22, 2006, at 6:57 PM, David Romano wrote: Hi everyone, I fiddled around with PackageMaker and created packages for Pugs (r10396) and Parrot (r12747) for OS X. I used my lapto

Re: parrot and pugs builds for os x

2006-05-22 Thread Michael Mathews
Hi David, Just downloaded both and ran the installers on my iBook G4 with OS X 10.4.6 (and ghc-6.4.2). So it just worked. I can now pugs -e 'say "hello";' with the rest of them. But I only wish I'd had this three days ago, /before/ I tried to get it installed by hand! Nice one, and many many th

Re: Changing permissions on temporary directories during testing

2006-05-22 Thread James E Keenan
Michael G Schwern wrote: There's other issues with this code. For one, its not portable. You're using a system command (touch) and you're assuming Unix filepath syntax. Another is your errors do not include $! which is the reason the command failed (no such file or directory). Additionally,

Re: Changing permissions on temporary directories during testing

2006-05-22 Thread Michael G Schwern
On 5/21/06, James E Keenan <[EMAIL PROTECTED]> wrote: This code is intended to achieve that goal but doesn't DWIM: This is the right idea, but... my ($file, $workdir, $destdir); { $workdir = File::Temp::tempdir(); chdir $workdir or die "Cannot change to $workdir"; $file = sys

parrot and pugs builds for os x

2006-05-22 Thread David Romano
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, and it seems they do. If you want to try them out, I'd be interested in some feedback: http://www.unobe.com/packages

Re: Changing permissions on temporary directories during testing

2006-05-22 Thread Michael G Schwern
On 5/22/06, David Golden <[EMAIL PROTECTED]> wrote: How portable does this need to be? My inclination is not to mess with file permissions in a test suite if you can avoid it. ... For system interaction tests, I prefer to fake failures rather than try to manufacture them. All things bei

Re: [perl #39173] Multi-Dispatch Incompatible with :flat Params

2006-05-22 Thread Leopold Toetsch
On May 22, 2006, at 20:28, Chip Salzenberg wrote: Hmm, seems that another call signature bit is in order then, which "looks" into flattening arrays for multi dispatch purposes. Why not just specify that :flat always expands before MMD dispatch? I don't see much of a use case for the current b

Re: [perl #39173] Multi-Dispatch Incompatible with :flat Params

2006-05-22 Thread Chip Salzenberg
On Mon, May 22, 2006 at 12:22:26AM +0200, Leopold Toetsch wrote: > On May 21, 2006, at 23:10, chromatic wrote: > >foo([,] eager @onetothree); # array flattened before &foo > >called > > Hmm, seems that another call signature bit is in order then, which > "looks" into flattening arra

Re: Getting to hello world?

2006-05-22 Thread Gabor Szabo
On Ubuntu it was quite straigt forward, I think this is everything I needed: sudo apt-get install subversion sudo apt-get install ghc6 mkdir ~/src cd ~/src # To compile Parrot svn co https://svn.perl.org/parrot/trunk parrot cd parrot perl Configure.pl --prefix=$HOME/parrot --cc=cc --cxx=CC --li

Parrot Bug Summary

2006-05-22 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon May 22 13:15:02 2006 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with m

Re: Changing permissions on temporary directories during testing

2006-05-22 Thread David Golden
James E Keenan wrote: Let's say that I'm writing a test suite for a Perl module which creates files and then, optionally, moves those files to predetermined directories. To test this module's functionality, I would have to see what happens when the user running the tests does not have write p

Re: Changing permissions on temporary directories during testing

2006-05-22 Thread Adam Kennedy
See the test suite for File::Flat, I put a ton of work into making sure it worked, and a lot of code doing filesystem stuff. Adam K James E Keenan wrote: Let's say that I'm writing a test suite for a Perl module which creates files and then, optionally, moves those files to predetermined dire

Re: Getting to hello world?

2006-05-22 Thread Steffen Schwigon
"James Peregrino" <[EMAIL PROTECTED]> writes: > You folks took me too literally :) I meant: Given a system without > pugs/parrot/haskell (I assume perl5 is required), what are the > things you need to install I just translated my german "Pugs First Blood" notes about how to compile Pugs. Try one