in reply to How to use options in Perl shell?
A backslash inside a double-quoted string is an escape character. Try using single quotes or doubling up the backslashes (an escaped backslash is interpreted as a backslash).
my $src = "D:\\scripts"; my $dest = 'D:\labserver3';
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to use options in Perl shell?
by andyram27 (Initiate) on Mar 04, 2003 at 21:31 UTC | |
by BrowserUk (Patriarch) on Mar 04, 2003 at 23:26 UTC |