From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 3:59 PM
To: Wagner, David --- Senior Programmer Analyst --- WGO
Cc: [email protected]; [EMAIL PROTECTED]; Curtis Leach
Subject: RE: Problems with Archive::Tar under XP - Perl v5.8.8.817
No. You want to use "or", NOT "||" in these cases.....
Deane Rothenmaier,
Systems Architect,
Walgreens Corp.
847-914-5150
"The shortest distance between two points is under construction." -- "Big John" Howell
"Wagner, David --- Senior Programmer Analyst --- WGO" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]07/20/2006 03:51 PM
To: "Curtis Leach" <[EMAIL PROTECTED]>, <[email protected]>
cc:
Subject: RE: Problems with Archive::Tar under XP - Perl v5.8.8.817
I ran into a nasty bug with Archive::Tar under Windows. I want to extract the files to a particular location, but whenever I run it, instead of putting the results on drive "D:", it put's it on drive "C:", where the program is running. After mucking through Tar.pm, I found it throws away the drive information. (Which finally allowed me to notice where my test program was extracting the files to when they were not showing up in the current directory or in the expected location.)So my question is this, is there a Perl command to change what drive you are on after you start your program? I hate writing OS specific code, but this bug is forcing me into this.
You can do chdir($newdirloc) || # die or whatever here if directory does not exist or problem
Wags ;)
**********************************************************************
This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited.
**********************************************************************
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
