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
Write a function that converts a character array to a signed floating point number. Function prototype must be as follows: int asciiToFloat( char *str, unsigned char* eflag) Follow

Question: (a)  An HTML file "decor.html" uses an external Cascading Style Sheet file name  "nicedesign.css". Users are viewing the Web page making use of different kinds of  br

Part 1 Given the following Regular Expressions, explain in detail the pattern accepted by each. Pay attention to all the characters being used. Your answers need not appear with

What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu

fow to I write a emplate that reads a set of numbers typed at the keyboard into an array of T

Question: (a) How does HTML allow you to: (i) turn an image into a clickable hyperlink? Include code to switch off the default border (ii) convert the above hyperlink i

An apartment complex has several apartments to rent. The apartments are all similar, and all rent for $750 per month. Currently, all units are occupied. The management, being in bu

Educational Objectives: After completing this assignment, the student should be able to accomplish the following: Apply generic algorithms in solving programming problems Define an

Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

A number of simple student records are written to a text file. The format of some typical linesshould be - Task (1): Using a text editor, create a file with 10 such reco