programming-examples/perl/String/Using length function to check the length of a string.pl
2019-11-15 12:59:38 +01:00

9 lines
105 B
Perl

#!/usr/bin/perl -w
use strict;
my $song = '12345';
print 'length: ', length($song), "\n";