Index of /examples/perl/examples/basic/ex02-variables

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]vartest.pl 2021-05-21 09:33 3.0K 
[TXT]vartest_cmd.out 2021-05-21 10:43 483  
[   ]vartest_cmd.pl 2021-05-21 09:33 483  

RCS Perl Basic Example #2 - variable test

Directory Structure

Notes

There are two ways to run Perl script at the command line:
  • call perl interpreter on the script explicitly by providing 'vartest.pl' script as its parameter:
  • 
    [scc1 ]$ perl vartest.pl
    [scc1 ]$ 
    
  • call 'vartest.pl' directly as a binary command (need to first make the script executable using 'chmod' command:
  • 
    [scc1 ]$ chmod +x vartest.pl
    [scc1 ]$ vartest.pl
    [scc1 ]$ 
    
    The command output is recorded in 'vartest_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.