Alphabetize in Perl - Assignment due Sunday : here is the prompt I have: Write a Perl program that reads in an arbitrary number of strings from the command line and
displays them sorted alphabetically. Here's what I have:


    #!/usr/bin/perl 
    use strict;
    use warnings;
    
    # read command line arguments 


    # verify correct input and display error and quit if input is valid 
    # (1) quit unless we have the correct number of command-line args
    my $numargs=string
    $num_args = $#ARGV + 1;
    if ($num_args != 2) {
   
    exit;
    }
    if ($num_args  > 2) {
     my $num_args eq string
    print "Enter multiple random strings of letters, separated by spaces: ";
    exit;
    }


    # (2) If we get multiple command arguments, assume they are 
    # separate strings of random letters
    my @string = ARGV

    if ($string eq ARGV) {
    my $string=ARGV
    }


    # sort strings
    my @sorted_string = sort @string;

    # display sorted string 

    print "Here is your sorted list: "@sorted_string"\n";


The errors I'm getting is about naming, but my professor said I'm close. Any help is much appreciated!