Index of /examples/perl/examples/basic/ex03-sorting

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]sorting.pl 2021-05-21 09:33 1.2K 
[   ]sorting_cmd.out 2021-05-21 09:33 258  

RCS Perl Basic Example #3 - sorting array

Directory Structure

Notes

There are two ways to run Perl script at the command line:
  • call perl interpreter on the script explicitly by providing 'sorting.pl' script as its parameter:
  • 
    [scc1 ]$ perl sorting.pl
    [scc1 ]$ 
    
  • call 'sorting.pl' directly as a binary command (need to first make the script executable using 'chmod' command:
  • 
    [scc1 ]$ chmod +x sorting.pl
    [scc1 ]$ sorting.pl
    [scc1 ]$ 
    
    The command output is recorded in 'sorting_cmd.out'.

    Contact Information

    Research Computing Services: help@scc.bu.edu

    Note: RCS example programs are provided "as is" without any warranty of any kind. The user assumes the intire risk of quality, performance, and repai r of any defect. You are welcome to copy and modify any of the given examples for your own use.