in reply to Re: Need help with s///
in thread Need help with s///
Ok, here's the story:
I'm parsing a config file and I'm running into a parameter that has a value like $$NETOBJ.parameter. I want to remove the $$NETOBJ. part and be left with parameter. The code I submitted earlier was a little test that I had put together, but I mistyped it. Here is my test program as I was using it:
Earlier, I typed use strict; out of habit. I usually use it, but left it out for this small example.#!/usr/local/bin/perl $a = "$$NETOBJ.parameter"; $a =~ s/\$\$NETOBJ\.//; print $a;
Sorry again for not being more specific. Thank you all for your feedback.
Tii
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(chromatic) RE: RE: Re: Need help with s///
by chromatic (Archbishop) on Jul 15, 2000 at 07:09 UTC |