Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    my $variable_with_a_very_long_name = 1;
    print "The value is >>$varaible_with_a_very_long_name<<";
    
  2. or download this
    # for global variables:
    use vars qw(@users $account);
    
  3. or download this
    for $user (@users) {
        $message = "Hello $user!";
    ...
    for my $user (@users) {
        my $message = "Hello $user!";
    };