Aion

 view release on metacpan or  search on metacpan

i18n/Aion/Types.ru-en.po  view on Meta::CPAN

msgid "Ссылка на скаляр или ссылку."
msgstr "A reference to a scalar or reference."

msgid "Ссылка на скаляр."
msgstr "Reference to a scalar."

msgid "Ссылка на ссылку."
msgstr "Link to link."

msgid "Ссылка на глоб."
msgstr "Link to global"

msgid "Файловый описатель."
msgstr "File descriptor."

msgid "Ссылки на массивы."
msgstr "Array references."

msgid "Ограничивает массивы от `A` до `B` элементов или от 0 до `A`, если `B` отсутствует."
msgstr "Limits arrays from `A` to `B` elements, or from 0 to `A` if `B` is missing."

lib/Aion.pm  view on Meta::CPAN


	eval $new;
	die if $@;

	if (@destroyers) {
		my $destroyer = << 'END';
package %(cls)s {
	sub DESTROY {
		my ($self) = @_;

		warn "${\ref $self}#${\Scalar::Util::id $self} destroy in global phase!" if ${^GLOBAL_PHASE} eq 'DESTRUCT';

%(destroyers)s
	}
}
END

		my %var = (
			cls => $cls,
			destroyers => join "", @destroyers,
		);

lib/Aion/Types.pm  view on Meta::CPAN


Link to link.

	\12    ~~ RefRef                 # -> ""
	\\12   ~~ RefRef                 # -> 1
	\-1.2  ~~ RefRef[Num]            # -> ""
	\\-1.2 ~~ RefRef[ScalarRef[Num]] # -> 1

=head2 GlobRef

Link to global

	\*A::a ~~ GlobRef # -> 1
	*A::a ~~ GlobRef  # -> ""

=head2 FileHandle

File descriptor.

	\*A::a ~~ FileHandle         # -> ""
	\*STDIN ~~ FileHandle        # -> 1



( run in 2.991 seconds using v1.01-cache-2.11-cpan-ceb78f64989 )