Pacific-Design.com

    
Home Index

1. Perl5

+ BerkeleyDB

+ CPAN

+ Catalyst

+ Class

+ Daemon

+ FILE

+ Hoppity

+ Inline C

+ Installation

+ LWP Simple

+ List Files

+ Mason

+ MongoDB

+ Moose

+ Perl Critic

+ Perl Debug

+ Questions

+ Regex

+ Serialization

+ Smart Match

+ Snippets

+ Types

+ Unit Test

+ my local

+ perlbrew

Perl5 /

Open Text Summarizer


$ scp -r /usr/local/ots-0.5.0 root@192.168.1.133:/usr/local/
$ scp /usr/local/ots-0.5.0.tar.gz root@192.168.1.133:/usr/local/

$ scp -r /usr/local/bin/ots root@192.168.1.133:/usr/local/bin/
$ scp -r /usr/local/share/ots root@192.168.1.133:/usr/local/share/

Perl Numbers

my $integer   = 142;
my $flaot     = 0.0034;
my $sci_float = 1.45e12;
my $binary    = 0b10110110; 
my $octal     = 052;
my $hex       = 0x20;
my $billion   = 1_000_000_000;

Compile Perl into Bytecode

The Bytecode Generator The B::Bytecode module writes the parse tree's opcodes out in a platform-independent encoding. You can take a Perl script compiled down to bytecodes and copy that to any other machine with Perl installed on it. The standard but currently experimental perlcc(1) command knows how to convert Perl source code into a byte-compiled Perl program.

perlcc hello.pl -o hello