Andre_br has asked for the wisdom of the Perl Monks concerning the following question:
Hello my friends.
I´d like Perl to unzip a file, but I am not ver familiar with the syntax wich calls unix commands. And also, this one is less newbie and I think may agregate to the site, I'd like to make her wait untill the conversion is finished. Can you guys give me a hand on this?
The script:
I wait for thy help.my $file = "test.zip"; my $path = "../uploads/46546"; ... command to unix (?) ... then I read the .xls files in the directory with glob and find out +, by elimination, the name of the file the user named his worksheet. +This code is ok already. ... then, I start the parsing, but this (and the code before) cannot h +appen before the conversion is finished, got it? Otherwise Perl won´t + find the file. (?)
Thanks a lot!
André
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Having Unix to unzip a file and Perl to wait untill it finishes
by holli (Abbot) on Jan 22, 2005 at 20:01 UTC | |
|
Re: Having Unix to unzip a file and Perl to wait untill it finishes
by friedo (Prior) on Jan 22, 2005 at 20:03 UTC | |
|
Re: Having Unix to unzip a file and Perl to wait untill it finishes
by johnnywang (Priest) on Jan 22, 2005 at 20:30 UTC | |
by Fletch (Bishop) on Jan 23, 2005 at 02:06 UTC |