perl-Acme-ComeFrom-0.11-alt1.noarch.rpm


Advertisement

Description

perl-Acme-ComeFrom - Parallel Goto-in-reverse

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Acme-ComeFrom
Package version 0.11
Package release alt1
Package architecture noarch
Package type rpm
Installed size 13.28 KB
Download size 13.28 KB
Official Mirror ftp.altlinux.org
INTERCAL programmers have for a long time monopolized the enormously
powerful construct `COME FROM', both as a flow-control replacement to
`goto', and as a simple way to mark parallel execution branches in
the multi-thread variant.
But now, with Acme::ComeFrom, we Perl hackers can finally be on par
with them in terms of wackiness, if not in obfuscation.
Just like `goto', `comefrom' comes in three different flavors:
=over 4
=item comefrom LABEL
The `comefrom-LABEL' form finds the statement labeled with `LABEL'
and jumps to the `comefrom' each time just *before* that statement's
execution.  The `comefrom' may not be inside any construct that
requires initialization, such as a subroutine or a `foreach' loop,
unless the targeting `LABEL' is also in the same construct.
=item comefrom EXPR
The `comefrom-EXPR' form expects a label name, whose scope will be
resolved dynamically.  This allows for computed `comefrom's by
checking the `EXPR' before every label (a.k.a. watchpoints), so
you can write:
comefrom ("FOO", "BAR", "GLARCH")[$i];
Starting from version 0.05, the value of EXPR is evaluated each time,
instead of the old *frozen at the first check* behaviour.  If this
breaks your code -- as if there's any code based on comefrom --
You may retain the original behaviour by assigning a true value
to `$Acme::ComeFrom::CacheEXPR'.
=item comefrom &NAME
The `comefrom-&NAME' form is quite different from the other forms of
`comefrom'.  In fact, it isn't a comefrom in the normal sense at all,
and doesn't have the stigma associated with other `comefrom's.  Instead,
it installs a post-processing handler for the subroutine, and a jump
would be made just *after* the subroutine's execution.
=back
If two or more `comefrom' were applied to the same LABEL, EXPR or NAME,
they will be executed simultaneously via `fork()'.  The forking are
ordered by their occurrances, with the parent process receiving
the last one.

Alternatives

Package Version Architecture Repository
perl-Acme-ComeFrom - - -

Requires

Name Value
/usr/share/perl5 -
perl(Filter/Simple.pm) >= 0.700
perl(Hook/LexWrap.pm) >= 0.200
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Acme/ComeFrom.pm) = 0.110
perl-Acme-ComeFrom = 0.11-alt1

Download

Type URL
Binary Package perl-Acme-ComeFrom-0.11-alt1.noarch.rpm
Source Package perl-Acme-ComeFrom-0.11-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Acme-ComeFrom rpm package:
    # sudo apt-get install perl-Acme-ComeFrom

Files

Path
/usr/share/doc/perl-Acme-ComeFrom-0.11/Changes
/usr/share/doc/perl-Acme-ComeFrom-0.11/README
/usr/share/perl5/Acme/ComeFrom.pm

See Also

Package Description
perl-Acme-Comment-1.04-alt1.noarch.rpm perl module Acme-Comment
perl-Acme-Constructor-Pythonic-0.002-alt1.noarch.rpm import Python-style constructor functions
perl-Acme-Coro-Suke-0.01-alt1.noarch.rpm the only real corosuke in benzo
perl-Acme-CorpusScrambler-0.04-alt1.noarch.rpm An Acme way doing Lorem Ipsum
perl-Acme-Cow-Interpreter-0.01-alt1.noarch.rpm Cow programming language interpreter
perl-Acme-Cow-Interpreter-scripts-0.01-alt1.noarch.rpm Acme-Cow-Interpreter scripts
perl-Acme-CramCode-0.01-alt1.noarch.rpm perl module Acme-CramCode
perl-Acme-Crap-0.001002-alt1.noarch.rpm Carp with more feeling
perl-Acme-CreatingCPANModules-0.01-alt1.noarch.rpm Created during a talk in London
perl-Acme-Currency-3.01-alt1.noarch.rpm perl module Acme-Currency
perl-Acme-Current-Forever-1.00-alt1.noarch.rpm perl module Acme-Current-Forever
perl-Acme-Curse-0.0.1-alt1.noarch.rpm Remove the blessing that lay on references
perl-Acme-Curses-Marquee-1.0-alt1.noarch.rpm perl module Acme-Curses-Marquee
perl-Acme-Curses-Marquee-Extensions-0.04-alt1.noarch.rpm Extensions for Acme::Curses::Marquee
perl-Acme-DNS-Correct-0.4-alt1.noarch.rpm perl module Acme-DNS-Correct
Advertisement
Advertisement