programming-examples/perl/String/Calculating the length of $string.pl
2019-11-15 12:59:38 +01:00

9 lines
139 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
my $string = "hello there\n";
print "The original string: ", 'hello there\n', "\n\n";