I have a simple script, which ipon execution asks a question, if the answer is Y it will print out something. here is the code.
echo -n "can you write device drivers?"
if [ $answer = Y ]
echo "wow, you must be very skilled"
echo "neither can i, i am just shell script"
My problem is that i have been trying to convert it to perl and unable to do so. can someone please help.
Thank you for your replies perl monks, i am sorry i was unable to provide the code as i really dint understand how to approach it. i am very new to perl and this was really helpful in my learning of the subject. thanks a lot guys. Perl monks rock!!