Write a perl script that accepts two integer arguments, Programming Languages

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of integers starting with the first argument up through the second argument.

2. The last printed value should not be followed by a comma.

3. The script should also be able to handle the following error situations:

  • Incorrect number of arguments 
  • The first argument is not less than the second argument (don't worry about trying to handle non-integer arguments)

4. The script must be able to execute on Einstein

5. The script file name must be: intlist

6. The script must be located in $HOME/itec400/homework

7. Make sure the permissions on the your itec400 directory are 705

8. Make sure the permissions on your script are 705

 

 

 

Posted Date: 2/18/2013 5:41:12 AM | Location : United States







Related Discussions:- Write a perl script that accepts two integer arguments, Assignment Help, Ask Question on Write a perl script that accepts two integer arguments, Get Answer, Expert's Help, Write a perl script that accepts two integer arguments Discussions

Write discussion on Write a perl script that accepts two integer arguments
Your posts are moderated
Related Questions
XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

What is .NET TECHNOLOGY? .NET technological innovation was presented by Enthusiasm, to get the industry from the SUN's Coffee. Few in the past, Enthusiasm had only VC++ and VB

1. Write the dual of the above max-?ow problem. 2. Solve both problems with AMPL, and for each print the values of the vari- ables and the values of the dual variables (if a p

Write a function called threshold1 (in a file called 'threshold1.m'. The function takes three arguments. The first two are arbitrarily sized arrays, A and B, and the third is a pos

EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduction This assignment is loosely based on Cheung et al. (2005) and Molodtsova and Papell (2009) and examines the out-of- sample pr

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

interference of waves


depth estimation from block matching algorithm motion estimation