Bee wrote:
> Hello,
> 
> I am curious to know that if that is an existed module to open files
> with it's default application just like I double click on the file
> with mouse. and I do something just like this with my code : 
> 
> use defaultOpen;
> defOpen 'C:\temp.gif' or die "$!" ; # Then the image will open with
> photoshop. 
> defOpen 'C:\temp.doc' or die "$!" ; # then the document will open
> with Word. 
> 
> I've made this done by writting a batch like code.. but I sure that's
> unsafe and unportable. 

won't

   system "start temp.doc"

do the trick?

-- 
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