Help for this page

Select Code to Download


  1. or download this
    $me = "dirtest1";
    
    ...
    $expl = "Double-quoted text with double backslashes";
    if ( -e "C:\\users\\public\\Music\\Sample Music" )
    { print "'-e $expl' is true\n"; } else { print "'-e $expl' is false\n"
    +; }
    
  2. or download this
    All of the following conditions are true on my system.
    The issue is to see which tests work.
    ...
    '-e Single-quoted text with single backslashes' is true
    '-e Single-quoted text with double backslashes' is true
    '-e Double-quoted text with double backslashes' is true
    
  3. or download this
    $me = "dirtest2";
    
    ...
    $expl = "Full path in double quotes";
    if ( -e "$full" )
    { print "'-e $expl' is true\n"; } else { print "'-e $expl' is false\n"
    +; }
    
  4. or download this
    All of the following conditions are true on my system.
    The issue is to see which tests work.
    ...
    '-e Full path in single quotes' is false
    '-e Part1 in double quotes' is true
    '-e Full path in double quotes' is false