Popcorn Dave has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to launch IE, from a Tk app, to display a local html file using the following code:
my $url = 'C:/Code/Perl/Phi Kap/temp.html'; system "start $url";
but I get a window popping up saying that XP doesn't know how to open file "Phi".
How do I get Perl to pass the entire URL that I've defined in $url so that it all goes through, and doesn't die at Phi? I had thought that wrapping the string in ' ' would cause Perl to evaluate it as an entire string.
Can this be done or is this a problem within XP?
|
|---|