The stupid question is the question not asked | |
PerlMonks |
Create 2 different sets of links using command line argumentby noviceuser (Acolyte) |
on Feb 11, 2021 at 18:08 UTC ( [id://11128251]=perlquestion: print w/replies, xml ) | Need Help?? |
noviceuser has asked for the wisdom of the Perl Monks concerning the following question: Hi users, i want to write a method in perl to create links for different cases like below case 1: create link such as /home/rcap/br_19_16_Rel_RTM -> /lan/fed/rcrel/APCVS/br_19_16_Rel_RTM case 2: create link such as /home/rcap/regs -> /lan/fed/rcrel/APCVS/br_19_16_Rel_RTM/regs so when i give -l /home/rcap as command line argument to the script, it should create link as case 1 and, when i give -l /home/rcap -b then it should create link such as case 2 where -b is a boolean value which should be passed only when case 2 is required i am not able to achieve both the requirements in my script, any help will be appreciated
Back to
Seekers of Perl Wisdom
|
|