Difference between revisions of "Exercise 5.1D"
Jump to navigation
Jump to search
(New page: Return to Week 2 Exercise 5.1 in <i>Beginning Perl for Bioinformatics</i></b> <pre> #!/usr/bin/perl -w use strict; # Damian Almiron # Ex5-1 # Write a nonhalting program using a...) |
(No difference)
|
Revision as of 12:33, 18 December 2009
Return to Week 2 Exercise 5.1 in Beginning Perl for Bioinformatics
#!/usr/bin/perl -w use strict; # Damian Almiron # Ex5-1 # Write a nonhalting program using a loop- (refer to pg 61), can you use #pattern matching for this (refer to pg 69)? # Define variables my $number= ’777’; my $name= 'DamianDamianDamian'; # Infinite loop while($number = '777'){ print "$name!\n"; } exit;