Help for this page
#!/usr/bin/perl -w use strict; my $str = "this is a string"; print pop @{[split(/\s/, $str)]};
#!/usr/bin/perl -w use strict; my $str = "this is a string"; print $str =~ /\s(\w+)$/;