in reply to Need help with badwords routine
Don't use '&' to call a sub, that's deprecated, basically now means a ref-to-sub.#!/usr/local/bin/perl -w use strict;
To access/assign 1 element of an array, don't use
use@vars[0] = $name;
$vars[0] = $name;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need help with badwords routine
by tinita (Parson) on Oct 21, 2008 at 08:56 UTC | |
|
Re^2: Need help with badwords routine
by chrism01 (Friar) on Oct 21, 2008 at 07:02 UTC |