Create perl scripts, Computer Engineering

Assignment Help:

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.


Related Discussions:- Create perl scripts

Interrupt - driven input-output, Q. Interrupt - Driven Input-output? Pr...

Q. Interrupt - Driven Input-output? Problem with programmed I/O is that processor has to wait a long time for I/O interface to see whether a device is free or waits until compl

Asynchronous and Synchronous types of serial communication, Differentiate b...

Differentiate between asynchronous and synchronous types of serial communication. Serial data communication uses two fundamental types, asynchronous andsynchronous. With synchr

Problems.., what are the different types of tablets?

what are the different types of tablets?

Explain complete binary tree, Complete Binary tree A complete binary tr...

Complete Binary tree A complete binary tree can be described as a binary tree whose non leaf nodes have nonempty left and right sub tree and all leaves are at the similar level

Simplify following using k-map, Q. Explain XNOR gate with three input varia...

Q. Explain XNOR gate with three input variable and draw necessary circuits. Q. Simplify FOLLOWING Using K-Map 1. m0 + m1 + m6 + m7 + m12 + m13 + m8 + m9 2. m0 + m2 + m4 +

Microprocessor, overlapping segmentation process in 8086

overlapping segmentation process in 8086

Define the term ''page traffic'', The term 'page traffic' describes? An...

The term 'page traffic' describes? Ans. Page Traffic describes the movement of pages in and out of memory.

Describe the properties of attributes and operations, Describe the properti...

Describe the properties of Attributesand operations Attributes are named slots for data values that belong to the class. Previously we have studied in MCS-024, different o

Micrography technology, Micrography: Micrographic technology is an out...

Micrography: Micrographic technology is an outgrowth of photographic technology. Since this technology is being increasingly used to supplement computer systems, strong electr

By which except ions of type error in java are handled, Except ions of type...

Except ions of type error in JAVA are handled by? Except ions of type error in the JAVA are handled through JAVA run time environment.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd