in reply to Help with Archive::Rar

Where did you find the to option documented in Archive::Rar? I see no such documentation in the ->Extract method.

Replies are listed 'Best First'.
Re^2: Help with Archive::Rar
by Anonymous Monk on Apr 10, 2012 at 09:07 UTC

    If we cannot use to=> then how can i extract it to some directory of our choice??

      Maybe see chdir and change the directory to a directory where you want to extract to?

      Or maybe make some more stuff up and create a text file which contains the name of the directory where you want to extract to?

      Personally, I recommend reading the source code of Archive::Rar and finding out how to pass options to the underlying rar executable and specify the target directory there.

        I have never modified sources of perl modules