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
Q. Show block Diagram of sequential circuits? A sequential circuit is an interconnection of storage elements and combinational circuits. The storage elements known as flip-flop

aggregation in dbms?

What is Virtual memory The term virtual memory signifies something that appears to be present though actually it is not. Virtual memory technique enables users to use more mem

Use of Typewriters for Multiple Copies : Offices frequently require copies of various letters and documents. The simplest method is to make the copies at the same time along with

Advantage  1.       By doing threading we neglect the recursive method of traversing a Tree , which makes use of stack and consumes many memory and time . 2.       The node

What is a shift register? Can a shift register be used as a counter? If yes, explain how?     Ans: Shift Register: A register wherein data gets shifted towards left or right

Explain the Feasibility Study This includes writing a report to convince management of the merits of adopting proposed new system. Some features of the study comprise: T

What is the decimal equivalent of hex number 1A53 ? Ans. 6739 is the decimal equivalent of Hex Number 1A53. From Hex Number to Decimal Number conversion is shown below: 1

Size limitation does not relate to number of records in a table within a database. Forms, reports, macros, and modules also add to database size, but is rather minimal compared to

Describe the additional characteristics needed for an e-commerce server? E-commerce services need dynamic configuration abilities and seasonal and every day service configurat