Acme-ComeFrom
view release on metacpan or search on metacpan
ACKNOWLEDGEMENTS
To the INTERCAL language, for its endless inspiration.
As its manual states: "The earliest known description of the COME FROM
statement in the computing literature is in [R. L. Clark, "A linguistic
contribution to GOTO-less programming," Commun. ACM 27 (1984), pp.
349-350], part of the famous April Fools issue of CACM. The subsequent
rush by language designers to include the statement in their languages
was underwhelming, one might even say nonexistent. It was therefore
decided that COME FROM would be an appropriate addition to C-INTERCAL."
To Maestro Damian Conway, the source of all magic bits in Hook::LexWrap
and Filter::Simple, on which this module is based.
To Ton Hospel, for his tolerance on my semantic hackeries, and for
suggesting the correct behaviour of "comefrom-LABEL" and
"comefrom-EXPR".
SEE ALSO
Hook::LexWrap, Filter::Simple, "goto" in perlfunc
inc/Module/Install.pm view on Meta::CPAN
# 2. $INC{inc/Module/Install.pm} set to ./inc/ version of Module::Install
# 3. The ./inc/ version of Module::Install loads
# }
use 5.004;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
$VERSION = '0.67';
}
# Whether or not inc::Module::Install is actually loaded, the
# $INC{inc/Module/Install.pm} is what will still get set as long as
# the caller loaded module this in the documented manner.
inc/Test/Builder.pm view on Meta::CPAN
$self->_print($out) unless $self->no_header;
exit(0);
}
#line 382
sub ok {
my($self, $test, $name) = @_;
# $test might contain an object which we don't want to accidentally
# store, so we turn it into a boolean.
$test = $test ? 1 : 0;
$self->_plan_check;
lock $self->{Curr_Test};
$self->{Curr_Test}++;
# In case $name is a string overloaded object, force it to stringify.
$self->_unoverload_str(\$name);
inc/Test/More.pm view on Meta::CPAN
#line 1
package Test::More;
use 5.004;
use strict;
# Can't use Carp because it might cause use_ok() to accidentally succeed
# even though the module being used forgot to use Carp. Yes, this
# actually happened.
sub _carp {
my($file, $line) = (caller(1))[1,2];
warn @_, " at $file line $line\n";
}
use vars qw($VERSION @ISA @EXPORT %EXPORT_TAGS $TODO);
inc/Test/More.pm view on Meta::CPAN
sub eq_set {
my($a1, $a2) = @_;
return 0 unless @$a1 == @$a2;
# There's faster ways to do this, but this is easiest.
local $^W = 0;
# It really doesn't matter how we sort them, as long as both arrays are
# sorted with the same algorithm.
#
# Ensure that references are not accidentally treated the same as a
# string containing the reference.
#
# Have to inline the sort routine due to a threading/sort bug.
# See [rt.cpan.org 6782]
#
# I don't know how references would be sorted so we just don't sort
# them. This means eq_set doesn't really work with refs.
return eq_array(
[grep(ref, @$a1), sort( grep(!ref, @$a1) )],
[grep(ref, @$a2), sort( grep(!ref, @$a2) )],
lib/Acme/ComeFrom.pm view on Meta::CPAN
=head1 ACKNOWLEDGEMENTS
To the B<INTERCAL> language, for its endless inspiration.
As its manual states:
"The earliest known description of the COME FROM statement in the computing
literature is in [R. L. Clark, "A linguistic contribution to GOTO-less
programming," Commun. ACM 27 (1984), pp. 349-350], part of the famous April
Fools issue of CACM. The subsequent rush by language designers to include
the statement in their languages was underwhelming, one might even say
nonexistent. It was therefore decided that COME FROM would be an appropriate
addition to C-INTERCAL."
To Maestro Damian Conway, the source of all magic bits in B<Hook::LexWrap>
and B<Filter::Simple>, on which this module is based.
To Ton Hospel, for his tolerance on my semantic hackeries, and for suggesting
the correct behaviour of C<comefrom-LABEL> and C<comefrom-EXPR>.
=head1 SEE ALSO
( run in 1.985 second using v1.01-cache-2.11-cpan-de7293f3b23 )