Perl Preprocessor

I want to modify Perl for 3 things.

  1. Preprocessor
  2. if,for,while without brackets
  3. Useful things like current ram or average load

For this three things I wrote this script :

if you want to test it you have to save it at “/usr/bin/perlp”.

In line 4-7 I define some values for replace.

Line 10 you cant print the current free ram, for this the script replace the token via bash script Free Ram or Load Average .

Line 13 and 16 you see that you can use if without brackets.

Line 18-21 it prints the changed values.

2 thoughts on “Perl Preprocessor”

  1. I truly love your blog.. Pleasant colors & theme.
    Did you make this amazing site yourself? Please reply back as I’m seeking
    to create my own, personal personal blog and would like to know where you got this from or just what the theme is named.
    Kudos!

    View Comment

Leave a Reply

Your email address will not be published.

four × three =