tenya has asked for the wisdom of the Perl Monks concerning the following question:
Note the single quotes in the print statement.reality_test($test_me, $min_allowed, $max_allowed) sub reality_test { #test here #if the test fails print '$test_me was less than allowed'; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Can Perl add single quotes?
by tye (Sage) on May 18, 2001 at 09:33 UTC | |
|
Re: Can Perl add single quotes?
by grinder (Bishop) on May 18, 2001 at 13:26 UTC | |
|
Re: Can Perl add single quotes?
by yakko (Friar) on May 18, 2001 at 09:17 UTC | |
|
Re: Can Perl add single quotes?
by Gloom (Monk) on May 18, 2001 at 11:39 UTC | |
|
Re: Can Perl add single quotes?
by busunsl (Vicar) on May 18, 2001 at 10:13 UTC |