|Just another Perl shrine|
<> diamond Operatorby kocaweb (Initiate)
|on Apr 06, 2005 at 18:42 UTC||Need Help??|
kocaweb has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Guys, I have this assignment to do for school in perl. I'll i wanna do is pass this course but i have no clue on how to to programming in perl. could any one please help me I am submiting the assignment my teacher told me that it would take 10 minutes. but there is no way i can figure out this. thanks foxs. there are 5 files that should be processed with this script. they just contain different words.it should use <> operator read the records on each file and if it matches change the records. user should enter files in command line argument.
Create a script named "lab08-1.pl" script to:
Display your full name (first and last) on the 1st line
The script should
o accept filenames as command line arguments
o Each record has specific text information
If any record has the text "xxx" in any case
(upper, lower, or mixed), change the text to "ggg" in all lower case
If any record has the text "alpha" in lower case only, change the text to upper case
o If the file name is file1 copy this file to the sysbacks folder.
o If the file name is file2 copy this file to the alpha folder
o If the file name is file3 copy this file to the blue folder under gamma
o If the file name is file4 or file5 copy these files to the green folder under gamma.
Look Guys, my Major is not computers i had to take a computer course to get the degree, the only reason i took perl is because it sounded interesting i didnt even know that is a programming language, and to be honest with you, i dont even know how to start, thats why i asked if somebody could do it for me or at least start then i could take it from there, if you dont want to do it and money is in your mind, i could pay for your service, just keep in mind I am a student.The book that i have has a lama on the cover,if it was something that i would do everyday i would learn perl, but once i pass this course may be i wont even work on computer anymore, and there are only 2 assignments on this course, test i have no problem i could just read the book and somehow pass it.