perl-B-XPath - search Perl optrees with XPath syntax

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-B-XPath
Package version 0.01
Package release alt1
Package architecture noarch
Package type rpm
Installed size 12.43 KB
Download size 12.43 KB
Official Mirror
Perl represents programs internally as a tree of opcodes.  To execute a
program, it walks this tree, performing each operation as it encounters it.
The the B manpage family of modules allows you to examine (and in some cases,
manipulate) this optree on programs *even as they run*.
B::XPath allows you to use XPath syntax to select ops in the optree.
use B::XPath;
my $node    = B::XPath->fetch_root( \&some_function );
_my $root    = B::XPath->fetch_main_root();
_# find all global scalar accesses
_my @globals = $root->match( '//gvsv' );
_# find all global scalar accesses within some_function() named $bob
_my @bobs    = $node->match( '//gvsv[@NAME="bob"]' );


Package Version Architecture Repository
perl-B-XPath - - -


Name Value
/usr/share/perl5 -
perl( -
perl(Class/ -
perl(Scalar/ -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(B/ = 0.010
perl-B-XPath = 0.01-alt1


Type URL
Binary Package perl-B-XPath-0.01-alt1.noarch.rpm
Source Package perl-B-XPath-0.01-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-B-XPath rpm package:
    # sudo apt-get install perl-B-XPath



See Also

Package Description
perl-BBCode-Parser-0.34-alt1.noarch.rpm Parses BBCode tags
perl-BBConfig-0.03-alt1.noarch.rpm Access to Box Backup account config files
perl-BBDB-1.40-alt1.noarch.rpm Read and Write BBDB files
perl-BBDB-Export-0.015-alt1.noarch.rpm export data from The Insidious Big Brother Database
perl-BBDB-Export-scripts-0.015-alt1.noarch.rpm BBDB-Export scripts
perl-BBS-DiscuzX2-0.01-alt1.noarch.rpm DISCUZ X2
perl-BBS-Perm-1.01-alt1.noarch.rpm a BBS client based on vte
perl-BBS-Perm-scripts-1.01-alt1.noarch.rpm BBS-Perm scripts
perl-BBS-UserInfo-0.01-alt1.noarch.rpm Base class of BBS::UserInfo::XXX
perl-BBS-UserInfo-Maple3-0.01-alt1.noarch.rpm Get user information of Maple3-style BBS
perl-BBS-UserInfo-Maple3itoc-0.01-alt1.noarch.rpm Get user information of Maple3itoc-style BBS
perl-BBS-UserInfo-Ptt-0.06-alt1.noarch.rpm Get user information of PTT-style BBS
perl-BBS-UserInfo-SOB-0.01-alt1.noarch.rpm Get user information of SOB-style BBS
perl-BBS-UserInfo-Wretch-0.03-alt1.noarch.rpm Get user information of Wretch-style BBS
perl-BDB-Wrapper-0.49-alt1.noarch.rpm The module to use with good option easily