[root@dal-s-exa1 ~]#
[root@dal-s-exa1 ~]# which perl
/usr/bin/perl
[root@dal-s-exa1 sn]# vi s.pl
[root@dal-s-exa1 sn]# cat s.pl
#!/usr/local/bin/perl
print "Hi there!\n";
[root@dal-s-exa1 sn]# perl s.pl
Hi there!
[root@dal-s-exa1 sn]#
[root@dal-s-exa1 sn]#
No comments:
Post a Comment