in reply to Re: moving from mac to PC
in thread moving from mac to PC
... use slashes, not backslashes. WIN understand both ...
... except on the command line or with respect to anything handled by the command line interpreter (just for the sake of consistency):
(This is under Win 7.)c:\@Work\Perl>perl -wMstrict -le "my $path = '/@Work/Perl/monks/yngwi'; my @dirs = `dir $path`; print qq{@dirs}; " Invalid switch - "@Work". c:\@Work\Perl>perl -wMstrict -le "my $path = '\@Work\Perl\monks\yngwi'; my @dirs = `dir $path`; print qq{@dirs}; " Volume in drive C is Acer Volume Serial Number is 9480-355B Directory of c:\@Work\Perl\monks\yngwi 04/02/2011 05:51 PM <DIR> . 04/02/2011 05:51 PM <DIR> .. 04/02/2011 06:18 PM 2,255 detect_class_method_1.pl 1 File(s) 2,255 bytes 2 Dir(s) 64,490,688,512 bytes free
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: moving from mac to PC
by afoken (Chancellor) on Oct 28, 2016 at 06:27 UTC | |
by Discipulus (Canon) on Oct 28, 2016 at 07:25 UTC | |
by RonW (Parson) on Oct 28, 2016 at 18:19 UTC | |
by afoken (Chancellor) on Oct 29, 2016 at 14:46 UTC |