in reply to Error Message when I use Strict
Im not sure if i have the whole picture here, maybe you have code afterwards for some special reason, BUT
Can you not just call your subroutine the most obvious way using just the name and pass in the argument.
use strict; my $text='abcdefgijkl'; test($text); sub test { print "\nokey!"; }
I may have it wrong though.
MonkPaul.
|
|---|