File: one-liner

package info (click to toggle)
libsysadm-install-perl 0.39-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 336 kB
  • sloc: perl: 734; makefile: 11
file content (8 lines) | stat: -rwxr-xr-x 188 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/usr/bin/perl

use Sysadm::Install qw(:all);
print STDERR "Type perl code, terminate by CTRL-D\n";
my $in = join "", <>;
$in =~ s/\n/ /g;

print "perl -e ", qquote($in, ':shell'), "\n";