W
wana
I was disconnected from the internet and had no access to my books
today, but I did have access to all of the perldocs saved on my
computer to look through. I was trying to find a way to change pwd
from a script.
I just wanted to write the most simple little thing to change
directories and list the contents. I never really learned shell
programming and I like to try to do everything with Perl these days.
Once I reconnected, I instantly found chdir with a simple Google
search. I wish I had Google to look through my perldocs though.
Question: How could I have found this command more easily in perldocs?
I was going crazy grepping through perltoc hopelessly to the point
where I was sure that there was no way to do it. By the way, why
doesn't system("cd $ARGV[0]") work?
Thanks!
today, but I did have access to all of the perldocs saved on my
computer to look through. I was trying to find a way to change pwd
from a script.
I just wanted to write the most simple little thing to change
directories and list the contents. I never really learned shell
programming and I like to try to do everything with Perl these days.
Once I reconnected, I instantly found chdir with a simple Google
search. I wish I had Google to look through my perldocs though.
Question: How could I have found this command more easily in perldocs?
I was going crazy grepping through perltoc hopelessly to the point
where I was sure that there was no way to do it. By the way, why
doesn't system("cd $ARGV[0]") work?
Thanks!