13 lines
250 B
Perl
13 lines
250 B
Perl
|
#!/usr/bin/perl
|
||
|
|
||
|
use warnings;
|
||
|
use strict;
|
||
|
|
||
|
my $string = "hello there\n";
|
||
|
print "The original string: ", 'hello there\n', "\n\n";
|
||
|
|
||
|
my $length = length( "Bye there\n" );
|
||
|
print "The length of \$string with whitespace: $length \n";
|
||
|
|
||
|
|
||
|
|