in reply to Re: Function Confusion
in thread Function Confusion
your syntax on the while loop is still incorrect.
You have:
while ($string_tested); { statement statement statement }
It should read like this:
while (test) { statement0; statement1; statement2; }
I echo the approach suggested by mzedeler and also that you have a look at the tutorials section. Oh and always use strict; use warnings;.
|
|---|