Perl Script

Friday, September 25, 2015

Variable length in Perl

Script:
$text = "Perl";
$value = length($text);

print "$value\n";

Output:
4
Posted by SystemAdminView at 2:19 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

SystemAdminView
View my complete profile

Blog Archive

  • ▼  2015 (10)
    • ▼  September (10)
      • Foreach command in Perl
      • Variable length in Perl
      • Reversed and Sort arrays in Perl
      • Combining Two Arrays in Perl
      • Shift and Unshift Perl Program
      • Variables and Array Perl Program
      • Push and Pop in Perl Program
      • Array's Perl Program
      • Variables Perl Program
      • Hello World Perl Program
Simple theme. Powered by Blogger.