×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Use perl on your command line

    Operators

    • The “|�? (pipe) symbol takes the output from a command line command and makes it the standard input of your 1 line Perl program.
    • The diamond operator, <>, reads lines from standard input.
    • Access command line arguments using @ARGV.

    Example

    perl -e 'for $i (0..255) {print "$i:&#$i;<br>\n";}' >allutf8.html

    Tutorials

    Add you own useful one liners

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.