|
-
Dec 4th, 2001, 06:38 PM
#1
Thread Starter
Hyperactive Member
PERL: Simple Problem
whenever i use the backticks to send a command to the commandline i will not work if there is a space.
Code:
@files = `dir\\*.*`;
but
[code]@files=`dir d:\\Perl\\*.*`;[\code]won't.
and obviously
[code]@files=`dird:\\Perl\\*.*`;[\code] doesn't either. Any suggestions?
In case it matters I'm using the newest version of ActivePerl on a Athlon and running ME.
"There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein
If you are programming in Java use www.NetBeans.org
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|