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
I have an assignment that requires from me to run multiple clients and one server ( Corba)

i want another php script like that one in assignment: EM201484 SA727PHP i want to parse out an urls form log file i will post attachments for a demo

1- If the order of a (mod P) is 3, prove that the order of a+1 is 6. 2- Explain why the "simplifiled knapsack" code is not secure.

I can attach or send the assignment instructions, but they''re rather long. 90% of the code is already written and given to us. The assignment is primarily rewriting and rearrangin

Define Reasons for using Functions? 1. Evade rewriting the same code over and over. 2. It is simpler to write programs and keep track of what they are doing. Codes are able t

How to build one dimensional list from string and build string from a list? Suppose input string is: STACKOVERFLOW then the output list should be outputList = [S,T,A,C,K,O,V,E,R,F

#quFollow the my shell programming guidelines as in the other assignments. Write a shell script to send a customized mail message to the users listed on the command line by login (

You need to create a Fraction calculator program.You need to create a Fraction class to represent fraction objects and a FractionCalculator class that will perform operations on fr

Question: (i) All Security authentication mechanism that run on the TRU64 Unix Operating system run under the Security Integration Architecture (SIA ) layer. Explain with di

Windows XP using C# load a binary file and send it thru a USB port to the USB port of STM32. STM32 received the file and then write it into an I2C EEPROM.