use strict;
use warnings;
my $phrase = 'This is friend "command line"';
my $friend = substr($phrase,16,12);
print "$friend\n";
my $this = substr($phrase,0,4);
print "$this\n";
> perl blog.pl
command line
This
[ORACLE] [SQLSERVER] [POSTGRES] [MYSQL] [DBA] [UNIX] [LINUX] [WINDOWS] [FREEBSD] [REDHAT] [SQL] [PERL] [SH] [BAT] [SCRIPT]
0 comentários:
Post a Comment