Thursday, 16 October 2014

Cat command in Linux

By vm  |  00:42 No comments

Cat command in Linux


$ cat program.pl program2.pl
#!/usr/bin/perl
 if( 2 ge 3) {
     print "greater\n";
} else {
     print "lesser\n";
 }

#!/usr/bin/perl
@arr = qw(1 2 3);
$ref = \@arr;
print ref $ref;

Example 2: 

#!/usr/bin/perl
 if( 2 ge 3) {
     print "greater\n";
} else {
     print "lesser\n";
 }

#!/usr/bin/perl
@arr = qw(1 2 3);
$ref = \@arr;
print ref $ref;

Example 3: 

Step 1: Start
Step 2: Declare variables a,b and c.
Step 3: Read variables a,b and c.
Step 4: If a>b
           If a>c
              Display a is the largest number.
           Else
              Display c is the largest number.
        Else
           If b>c
              Display b is the largest number.
           Else
              Display c is the greatest number.
Step 5: Stop

vm Author: vm

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

Related Posts

0 comments:

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles

© 2014 VOIP4Learn. WP themonic converted by Bloggertheme9. Powered by Blogger.