himanshu.padmanabhi has asked for the wisdom of the Perl Monks concerning the following question:
This solution is working well.But a small chance here,I wanted actually like this,$cmd =~ s/([0-9])/args$1/g;
I am getting error here as,$in{'cmd'} =~ s/([0-9])/$in{args$1}/g;
What should I do?Can't call method "args" without a package or object reference at /usr +/file1.cgi line 399.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't call method "args" without a package or object reference
by Corion (Patriarch) on Apr 08, 2009 at 07:34 UTC | |
by almut (Canon) on Apr 08, 2009 at 08:17 UTC | |
by himanshu.padmanabhi (Acolyte) on Apr 08, 2009 at 07:58 UTC | |
|
Re: Can't call method "args" without a package or object reference
by himanshu.padmanabhi (Acolyte) on Apr 08, 2009 at 07:21 UTC |