SlideShare a Scribd company logo
write a Perl program that performs the following tasks:
Generate a menu to ask the user for the task that he or she
would like to see performed.
The available tasks are as follows:
Show current date and time.
Show users currently logged in.
Show the name of the working directory.
Show the contents of the working directory.
Prompt the user for the choice, and perform the system
command.
Also, describe how
variables
in Perl are handled, specifically with respect to the need for
declaration and type casting.

More Related Content

More from alexandernmeredith30

Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docxWrite a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
alexandernmeredith30
 
Write a proposal according to the promptinstructions on the attac.docx
Write a proposal according to the promptinstructions on the attac.docxWrite a proposal according to the promptinstructions on the attac.docx
Write a proposal according to the promptinstructions on the attac.docx
alexandernmeredith30
 
Write a Project Risk Management Paper. Your Essay should cover the f.docx
Write a Project Risk Management Paper. Your Essay should cover the f.docxWrite a Project Risk Management Paper. Your Essay should cover the f.docx
Write a Project Risk Management Paper. Your Essay should cover the f.docx
alexandernmeredith30
 
Write a program with a class called Employee for 5 employees with a .docx
Write a program with a class called Employee for 5 employees with a .docxWrite a program with a class called Employee for 5 employees with a .docx
Write a program with a class called Employee for 5 employees with a .docx
alexandernmeredith30
 
Write a program that uses the ArrayList class and populate it with a.docx
Write a program that uses the ArrayList class and populate it with a.docxWrite a program that uses the ArrayList class and populate it with a.docx
Write a program that uses the ArrayList class and populate it with a.docx
alexandernmeredith30
 
Write a program that gets two inputs an integer and a character. Use.docx
Write a program that gets two inputs an integer and a character. Use.docxWrite a program that gets two inputs an integer and a character. Use.docx
Write a program that gets two inputs an integer and a character. Use.docx
alexandernmeredith30
 
Write a press release with media list.Introduction paragraph sta.docx
Write a press release with media list.Introduction paragraph sta.docxWrite a press release with media list.Introduction paragraph sta.docx
Write a press release with media list.Introduction paragraph sta.docx
alexandernmeredith30
 
Write a Process  Paragraph  Write at least  six steps.  .docx
Write a Process  Paragraph  Write at least  six steps.  .docxWrite a Process  Paragraph  Write at least  six steps.  .docx
Write a Process  Paragraph  Write at least  six steps.  .docx
alexandernmeredith30
 
write a post that agrees OR disagrees with the assertion. Cite.docx
write a post that agrees OR disagrees with the assertion. Cite.docxwrite a post that agrees OR disagrees with the assertion. Cite.docx
write a post that agrees OR disagrees with the assertion. Cite.docx
alexandernmeredith30
 
Write a Process  Paragraph  Write at least  six steps.  Reme.docx
Write a Process  Paragraph  Write at least  six steps.  Reme.docxWrite a Process  Paragraph  Write at least  six steps.  Reme.docx
Write a Process  Paragraph  Write at least  six steps.  Reme.docx
alexandernmeredith30
 
Write a post in response to the following prompt.Pick an institu.docx
Write a post in response to the following prompt.Pick an institu.docxWrite a post in response to the following prompt.Pick an institu.docx
Write a post in response to the following prompt.Pick an institu.docx
alexandernmeredith30
 
write a position paper of at least 350 words. You must use proper ci.docx
write a position paper of at least 350 words. You must use proper ci.docxwrite a position paper of at least 350 words. You must use proper ci.docx
write a position paper of at least 350 words. You must use proper ci.docx
alexandernmeredith30
 
Write a policy report on one of the highly debated areas in Public E.docx
Write a policy report on one of the highly debated areas in Public E.docxWrite a policy report on one of the highly debated areas in Public E.docx
Write a policy report on one of the highly debated areas in Public E.docx
alexandernmeredith30
 
Write a PICOT ( A specific question that, when answered, provides ev.docx
Write a PICOT ( A specific question that, when answered, provides ev.docxWrite a PICOT ( A specific question that, when answered, provides ev.docx
Write a PICOT ( A specific question that, when answered, provides ev.docx
alexandernmeredith30
 
Write a PICO question, instructions and journal to use are attached..docx
Write a PICO question, instructions and journal to use are attached..docxWrite a PICO question, instructions and journal to use are attached..docx
Write a PICO question, instructions and journal to use are attached..docx
alexandernmeredith30
 
Write a personal statement (childhood studies)- Interested A.docx
Write a personal statement (childhood studies)- Interested A.docxWrite a personal statement (childhood studies)- Interested A.docx
Write a personal statement (childhood studies)- Interested A.docx
alexandernmeredith30
 
Write a paragraph summary about the history and epidemiology of th.docx
Write a paragraph summary about the history and epidemiology of th.docxWrite a paragraph summary about the history and epidemiology of th.docx
Write a paragraph summary about the history and epidemiology of th.docx
alexandernmeredith30
 
Write a paragraph summary about the history and epidemiology of the .docx
Write a paragraph summary about the history and epidemiology of the .docxWrite a paragraph summary about the history and epidemiology of the .docx
Write a paragraph summary about the history and epidemiology of the .docx
alexandernmeredith30
 
Write a paragraph on a related topic to Health Science (OTA,)dis.docx
Write a paragraph on a related topic to Health Science (OTA,)dis.docxWrite a paragraph on a related topic to Health Science (OTA,)dis.docx
Write a paragraph on a related topic to Health Science (OTA,)dis.docx
alexandernmeredith30
 
Write a paragraph on a related topic to Health Science (Occu.docx
Write a paragraph on a related topic to Health Science (Occu.docxWrite a paragraph on a related topic to Health Science (Occu.docx
Write a paragraph on a related topic to Health Science (Occu.docx
alexandernmeredith30
 

More from alexandernmeredith30 (20)

Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docxWrite a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
Write a proposal about indian songs Zindagi Bhar Nahin Bhulegi” In.docx
 
Write a proposal according to the promptinstructions on the attac.docx
Write a proposal according to the promptinstructions on the attac.docxWrite a proposal according to the promptinstructions on the attac.docx
Write a proposal according to the promptinstructions on the attac.docx
 
Write a Project Risk Management Paper. Your Essay should cover the f.docx
Write a Project Risk Management Paper. Your Essay should cover the f.docxWrite a Project Risk Management Paper. Your Essay should cover the f.docx
Write a Project Risk Management Paper. Your Essay should cover the f.docx
 
Write a program with a class called Employee for 5 employees with a .docx
Write a program with a class called Employee for 5 employees with a .docxWrite a program with a class called Employee for 5 employees with a .docx
Write a program with a class called Employee for 5 employees with a .docx
 
Write a program that uses the ArrayList class and populate it with a.docx
Write a program that uses the ArrayList class and populate it with a.docxWrite a program that uses the ArrayList class and populate it with a.docx
Write a program that uses the ArrayList class and populate it with a.docx
 
Write a program that gets two inputs an integer and a character. Use.docx
Write a program that gets two inputs an integer and a character. Use.docxWrite a program that gets two inputs an integer and a character. Use.docx
Write a program that gets two inputs an integer and a character. Use.docx
 
Write a press release with media list.Introduction paragraph sta.docx
Write a press release with media list.Introduction paragraph sta.docxWrite a press release with media list.Introduction paragraph sta.docx
Write a press release with media list.Introduction paragraph sta.docx
 
Write a Process  Paragraph  Write at least  six steps.  .docx
Write a Process  Paragraph  Write at least  six steps.  .docxWrite a Process  Paragraph  Write at least  six steps.  .docx
Write a Process  Paragraph  Write at least  six steps.  .docx
 
write a post that agrees OR disagrees with the assertion. Cite.docx
write a post that agrees OR disagrees with the assertion. Cite.docxwrite a post that agrees OR disagrees with the assertion. Cite.docx
write a post that agrees OR disagrees with the assertion. Cite.docx
 
Write a Process  Paragraph  Write at least  six steps.  Reme.docx
Write a Process  Paragraph  Write at least  six steps.  Reme.docxWrite a Process  Paragraph  Write at least  six steps.  Reme.docx
Write a Process  Paragraph  Write at least  six steps.  Reme.docx
 
Write a post in response to the following prompt.Pick an institu.docx
Write a post in response to the following prompt.Pick an institu.docxWrite a post in response to the following prompt.Pick an institu.docx
Write a post in response to the following prompt.Pick an institu.docx
 
write a position paper of at least 350 words. You must use proper ci.docx
write a position paper of at least 350 words. You must use proper ci.docxwrite a position paper of at least 350 words. You must use proper ci.docx
write a position paper of at least 350 words. You must use proper ci.docx
 
Write a policy report on one of the highly debated areas in Public E.docx
Write a policy report on one of the highly debated areas in Public E.docxWrite a policy report on one of the highly debated areas in Public E.docx
Write a policy report on one of the highly debated areas in Public E.docx
 
Write a PICOT ( A specific question that, when answered, provides ev.docx
Write a PICOT ( A specific question that, when answered, provides ev.docxWrite a PICOT ( A specific question that, when answered, provides ev.docx
Write a PICOT ( A specific question that, when answered, provides ev.docx
 
Write a PICO question, instructions and journal to use are attached..docx
Write a PICO question, instructions and journal to use are attached..docxWrite a PICO question, instructions and journal to use are attached..docx
Write a PICO question, instructions and journal to use are attached..docx
 
Write a personal statement (childhood studies)- Interested A.docx
Write a personal statement (childhood studies)- Interested A.docxWrite a personal statement (childhood studies)- Interested A.docx
Write a personal statement (childhood studies)- Interested A.docx
 
Write a paragraph summary about the history and epidemiology of th.docx
Write a paragraph summary about the history and epidemiology of th.docxWrite a paragraph summary about the history and epidemiology of th.docx
Write a paragraph summary about the history and epidemiology of th.docx
 
Write a paragraph summary about the history and epidemiology of the .docx
Write a paragraph summary about the history and epidemiology of the .docxWrite a paragraph summary about the history and epidemiology of the .docx
Write a paragraph summary about the history and epidemiology of the .docx
 
Write a paragraph on a related topic to Health Science (OTA,)dis.docx
Write a paragraph on a related topic to Health Science (OTA,)dis.docxWrite a paragraph on a related topic to Health Science (OTA,)dis.docx
Write a paragraph on a related topic to Health Science (OTA,)dis.docx
 
Write a paragraph on a related topic to Health Science (Occu.docx
Write a paragraph on a related topic to Health Science (Occu.docxWrite a paragraph on a related topic to Health Science (Occu.docx
Write a paragraph on a related topic to Health Science (Occu.docx
 

Recently uploaded

CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 

Recently uploaded (20)

CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 

write a Perl program that performs the following tasksGenerate a .docx

  • 1. write a Perl program that performs the following tasks: Generate a menu to ask the user for the task that he or she would like to see performed. The available tasks are as follows: Show current date and time. Show users currently logged in. Show the name of the working directory. Show the contents of the working directory. Prompt the user for the choice, and perform the system command. Also, describe how variables in Perl are handled, specifically with respect to the need for declaration and type casting.