Article 56ZJ3 simple perl script that does not print

simple perl script that does not print

by
Fred27377
from LinuxQuestions.org on (#56ZJ3)
I have this script below.It runs and when you execute $? it returns from BASH no errors but it will not print. This sounds limited but i have seen similiar errors before and maybe if you can clear one you can start to clear them all. Just thinking. Thanks for looking and considering.

Code:
#!/usr/bin/perl -d
#use warnings;
#use strict;

my $list = 0;
my $i = 1;
my $a = 0;
if (my $i < 10){

print my $i;
fi

}latest?d=yIl2AUoC8zA latest?i=IBZu5V1LODo:B0aBB9x-4FE:F7zBnMy latest?i=IBZu5V1LODo:B0aBB9x-4FE:V_sGLiP latest?d=qj6IDK7rITs latest?i=IBZu5V1LODo:B0aBB9x-4FE:gIN9vFwIBZu5V1LODo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments