Create perl scripts, Computer Engineering

Create Perl scripts as required below:

a) Create a script named select_by_attribute.pl that accepts the name of a LibML documentand the name of a particular attribute from the command line. (For example, if you have a library of songs, you might like to use the singer, or composer. If you have a video library, you might like to use the actor, actress, director or producer...etc. The script must print to standard output the particular attribute and call numbers of the item as selected by the particular attribute.

b) Create a script delete_description that accepts a LibML document name as its parameter (from the command line). The script should delete the descriptions of all the items and print the resulting document on standard output.

c) Create script count_items.pl that takes a LibML document and report the total number of items in the library. The output should be printed in the standard output in plain text. Note that some item may have more than one call number, meaning that there are more than one item of having the same attribute.

Posted Date: 2/22/2013 7:30:47 AM | Location : United States







Related Discussions:- Create perl scripts, Assignment Help, Ask Question on Create perl scripts, Get Answer, Expert's Help, Create perl scripts Discussions

Write discussion on Create perl scripts
Your posts are moderated
Related Questions
What are the central interfaces of the R/3 system? There are three central interfaces:- Presentation Interface. Database Interface. Operating system Interface.

Explain a macro Macro is a preprocessor directive, also called as macro definition takes the following general form:  #define identifier string

Find out the two inputs when the NAND gate output will be low. Ans. The output of NAND gate will be low if the two inputs are 11. The Truth Table of NAND gate is shown

Q. What is a virtual address? Von Neumann had suggested that execution of a program is possible only if program and data are residing in memory. In such a condition program len

Software Characteristics: Software is engineered and developed. Software can't "wear-out". Most of the software continues to be routine built. The term in

An off-hook signal will repeat for a/an                   duration. For a/an finite duration, an off-hook signal will repeat.

What is SEGMENT - Assembler directives SEGMENT:  This directive defines to assembler the start of a segment with name segment-name.  Segment name must be unique and follows the

Discuss the basic entities of World Wide Web in brief. World Wide Web: This is a complicated client/server system in that a web client communicates along with the web ser

Does the use of wire-center have any influence on the performance of a token ring? Explain. One problem along with a ring network is as if the cable breaks somewhere, the ring

Two popular encryption techniques to ensute secured transactions on the net? 1. Translation table 2. Word/byte rotation and XOR bit masking.