Tommy Nordgren wrote:
> 
> Oct 25, 2005 kl. 6:21 AM skrev Pant, Hridyesh:
> 
>> Hi All,
>> How to extract zip file using perl program...
>>
>> Thanks
>> Hridyesh
>>
>> -- 
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>>
>>
>>
> 
> system '/usr/bin/unzip',@OPTIONS,$zipfile;
> 

Time for me to rant about how the above is unacceptable for anything
other than a one off script. Shelling out using 'system' or backticks is
a last resort and should be used with care and the proper precautions
taken. The above lacks proper error handling, security safe guards, and
is inefficient and non-portable.

So the ML archives for further discussion of how to properly shell out...

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to