Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'print "there is no newline\n" if "foo\n" =~ /.*\z/'
    $ perl -e 'print "there is no newline\n" if "foo" =~ /.*\z/'
    there is no newline