One could also use forward slashes.
That's right. It's even better actually, because in contrast to using single quotes and backslashes, you don't need to remember to take care of the special case when you have a path with a trailing separator, e.g.
my $dir = 'c:\perl\scripts\'; # wrong my $dir = 'c:\perl\scripts\\'; # ok when last backslash is escaped vs. my $dir = 'c:/perl/scripts/'; # ok my $dir = "c:/perl/scripts/"; # ok
In reply to Re^3: Win32::daemon and Perl
by almut
in thread Win32::daemon and Perl
by becca23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |