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
Purpose of storage: Several different forms of storage, based on different natural phenomena, have been invented.  So far, no practical universal storage medium persists, and a

Write a program to input an address i.e. 20 Hex and read the byte (char) contents of that address   Answer   include void main() { char prompt; Date: 26th August 2012

Explain Remote Procedure Call. RPC (Remote Procedure Call) : The facility which was created to help the programmers write client -server software is termed as Remote Procedu

i want flowchart for push, pop in stack element and display stack and exit

Differentiate between WML-Script and Web-based scripting languages. WML Script is a lightweight procedural scripting language, optimized for small-memory, low-power CPU wireles

1. The Goal: Do you think that this is an operational methodology or a philosophy? Please explain. 2. How to apply Constraint Management to a Production Facility? How about to a

Name the language processors are? Assembler, Compiler and Interpreter are the language processors.

Q. What is Instruction Register? Instruction Register (IR): Here instructions are loaded before execution. Comments on figure above are as below: All representations are

Define the Operating Characteristics for master-slave S-R flip-flop? 1. Propagation Delay Time - is the interval of time required subsequent to an input signal has been applied

Q. Show the liability of CPU in interrupt cycle? In the interrupt cycle the liability of CPU/Processor is to ensure whether any interrupts have happened checking presence of in