aajello has asked for the wisdom of the Perl Monks concerning the following question:
use strict; my @dirA; @dirA = `dir \\\\rancaajelloxp\\c\$`; print @dirA; print "\n\n"; my @dirB; `dir \\\\rancaajelloxp\\c\$ > dir.txt`; open DIRB, 'dir.txt'; for (<DIRB>){ push @dirB, $_; } close DIRB; print @dirB;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: differences in dir? (cmd)
by tye (Sage) on May 02, 2007 at 16:33 UTC | |
|
Re: differences in dir?
by BrowserUk (Patriarch) on May 02, 2007 at 16:31 UTC | |
by Anonymous Monk on May 02, 2007 at 16:59 UTC | |
by BrowserUk (Patriarch) on May 02, 2007 at 17:10 UTC | |
by tye (Sage) on May 02, 2007 at 17:22 UTC | |
by BrowserUk (Patriarch) on May 02, 2007 at 17:36 UTC | |
|
Re: differences in dir?
by akho (Hermit) on May 02, 2007 at 16:08 UTC |