in reply to Use of uninitialized value in pattern match (m//)
you probably meantmy $componentName = @_;
ormy ($componentName) = @_; # list context
or evenmy $componentName = $_[0];
my $componentName = shift;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of uninitialized value in pattern match (m//)
by anaconda_wly (Scribe) on Oct 31, 2012 at 17:31 UTC |