$*OS and OS::* mixins

0 views
Skip to first unread message

Rob Kinyon

unread,
May 26, 2005, 4:41:11 PM5/26/05
to Perl6 Language List
I was thinking on the drive home how to write some of the File::Spec
functions in P6. I realized that it would be really neat if $*OS did
one of a bunch of mixins (maybe OS::unix, OS::win32, OS::vms, etc).
That way, you could multimethod the various functions, using junctions
and Any to provide a default.

Rob

Reply all
Reply to author
Forward
0 new messages