perl-Backtick-AutoChomp - auto-chomp() result of backtick(``) and qx//

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Backtick-AutoChomp
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 3.75 KB
Download size 3.75 KB
Official Mirror
In bash, the shell will automatically chomp the result of a backtick call.
s=`whoami`       # me
echo =$s=        # =me=
echo =`whoami`=  # =me=
In perl, we must** do:
$s = `whoami`;
print "=$s=";
The goal of this module is for this to DWIM:
print "=".`whoami`."=";
Another case where this is potentially useful:
use Backtick::AutoChomp;
printf "me(%s), host(%s), kernel(%s), date(%s)\n",
`uname -r`,
** Yes, there are pure-perl ways to do *whoami*, *hostname*, etc.  But keep in mind programs that don't have equivalents ... and also, especially for temp/quick-n-dirty scripts, the convenience factor :)
Note that this is implemented as a source filter. It replaces a backtick or qx statement with a `do{}' statement.


Package Version Architecture Repository
perl-Backtick-AutoChomp - - -


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


Name Value
perl(Backtick/ = 0.020
perl-Backtick-AutoChomp = 0.02-alt1


Type URL
Binary Package perl-Backtick-AutoChomp-0.02-alt1.noarch.rpm
Source Package perl-Backtick-AutoChomp-0.02-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-Backtick-AutoChomp rpm package:
    # sudo apt-get install perl-Backtick-AutoChomp



See Also

Package Description
perl-Backticks-1.0.9-alt1.noarch.rpm Use `backticks` like objects!
perl-Backup-Duplicity-YADW-0.12-alt2.noarch.rpm Yet Another Duplicity Wrapper
perl-Backup-Duplicity-YADW-scripts-0.12-alt2.noarch.rpm Backup-Duplicity-YADW scripts
perl-Backup-EZ-0.23-alt1.noarch.rpm Simple backups based on rsync
perl-Backup-EZ-scripts-0.23-alt1.noarch.rpm Backup-EZ scripts
perl-Backup-Hanoi-0.005-alt1.noarch.rpm select backup according to algo
perl-Backup-Hanoi-scripts-0.005-alt1.noarch.rpm Backup-Hanoi scripts
perl-Backup-SingleFile-0.13-alt1.noarch.rpm copies one file to a predefined backup-directory, appends the date and a counter for keeping the hi
perl-BackupPC-Backups-Info-0.0.0-alt1.noarch.rpm Restrieves info on BackupPC backups
perl-BackupPC-Backups-Info-scripts-0.0.0-alt1.noarch.rpm BackupPC-Backups-Info scripts
perl-Bad-Words-0.09-alt1.noarch.rpm perl module Bad-Words
perl-Badge-Depot-0.0104-alt1.noarch.rpm A framework for badges
perl-Badge-Depot-Plugin-Coverage-0.0101-alt1.noarch.rpm Code coverage plugin for Badge::Depot
perl-Badge-Depot-Plugin-Cpantesters-0.0102-alt1.noarch.rpm CPAN testers plugin for Badge::Depot
perl-Badge-Depot-Plugin-Gratipay-0.0103-alt1.noarch.rpm Gratipay plugin for Badge::Depot