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

Aha! But what if you tried it?

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: pattern matching
by strfry() (Monk) on Jun 06, 2001 at 20:55 UTC
    well, when i do "my ($string) = _@;" it works nicely, except when $string contains http:// whats ($variable) do anyhow?
      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 ):