ibanix has asked for the wisdom of the Perl Monks concerning the following question:
but this returns "1" into $path; which is suppose is the return value of the s/$ref_srv/$server/i operation.my ($path) = $logfilepath =~ s/$ref_srv/$server/i;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: s/// operator and binding
by Ovid (Cardinal) on Jan 28, 2003 at 00:25 UTC | |
by ibanix (Hermit) on Jan 28, 2003 at 00:27 UTC | |
by sauoq (Abbot) on Jan 28, 2003 at 00:39 UTC | |
by Cat (Initiate) on Jan 28, 2003 at 00:45 UTC | |
by Ovid (Cardinal) on Jan 28, 2003 at 00:45 UTC | |
|
Re: s/// operator and binding
by Aristotle (Chancellor) on Jan 28, 2003 at 01:40 UTC |