Changeset 11612


Ignore:
Timestamp:
05/03/11 20:31:21 (13 months ago)
Author:
OlivierRaginel
Message:

Item1518: Use << for multi-line print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Users/HtPasswdUser.pm

    r11609 r11612  
    239239            $Foswiki::cfg{Htpasswd}{FileName} . '.README open failed: ' . $! ); 
    240240 
    241         print $readme 
    242 "# Foswiki uses a specially crafted .htpasswd file format that should not be\n"; 
    243         print $readme 
    244 "# manipulated using a standard htpasswd utility or loss of registered emails might occur..\n"; 
    245         print $readme 
    246 "# (3rd-party utilities do not support the email address format used by Foswiki).\n"; 
    247         print $readme "# \n"; 
    248         print $readme 
    249 "# More information available at: http://foswiki.org/System/UserAuthentication.\n"; 
     241        print $readme <<'EoT'; 
     242Foswiki uses a specially crafted .htpasswd file format that should not be 
     243manipulated using a standard htpasswd utility or loss of registered emails might occur. 
     244(3rd-party utilities do not support the email address format used by Foswiki). 
     245 
     246More information available at: http://foswiki.org/System/UserAuthentication. 
     247EoT 
    250248        close($readme); 
    251249    } 
Note: See TracChangeset for help on using the changeset viewer.