Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use strict; # les variables indéfinies ne vaudront plus undef !!
  3. use warnings;
  4. my $nntpmntp = 10;
  5. while($nntpmntp>5) {
  6. print "$nntpmntp\n";
  7. $nntpmntp --;
  8. }
  9.  
  10. my $x = "oui";
  11. my $y = "non";
  12. if( $x eq $y ) { #accolades obligatoires en perl,
  13. print "c'est dingue!\n";
  14. }
  15. else
  16. {
  17. print "tout va bien\n";
  18. }
  19.  
  20. print "2"."9"+"5"."\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement