in reply to Re: Re: Re: Re: Re: pattern matching
in thread Creating a regex to match part of a URL's domain name (was: pattern matching)

well, when i do "my ($string) = _@;" it works nicely, except when $string contains http:// whats ($variable) do anyhow?
  • Comment on Re: Re: Re: Re: Re: Re: pattern matching

Replies are listed 'Best First'.
Re: Re: pattern matching
by strfry() (Monk) on Jun 06, 2001 at 21:06 UTC
    hm, i meant to say, when i do
    my ($string) = $_[0];, it works fine, unless i do  $my $variable = "http://www.google.com", then it says "Use of uninitialized value at ./index.cgi line 29."
    sorry ):