in reply to Re: Re: How do I use regex to strip out specific characters in a string?
in thread How do I use regex to strip out specific characters in a string?
But, the creation of temp variables shouldn't be an issue. But, if you're that concerned with the creation of temporary variables, just undef the variables after you're done. You could even combine the variables as such:
{ my @temp_variables; push @temp_variables, split ' ', $stamp; push @temp_variables, split '/', $temp_variable[1]; $temp_variables[2] =~ tr/://d; $stamp = join '_', @temp_variables[3,4,2]; undef @temp_variables; }
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: How do I use regex to strip out specific characters in a string?
by Sifmole (Chaplain) on Aug 23, 2001 at 00:58 UTC | |
by dragonchild (Archbishop) on Aug 23, 2001 at 01:04 UTC | |
by Sifmole (Chaplain) on Aug 23, 2001 at 01:14 UTC | |
by dragonchild (Archbishop) on Aug 23, 2001 at 17:09 UTC |