Remember, ID= is part of the actual text I am searching for. Perhaps you were thinking along the lines of
$var =~ /some-text/, right?
Anyhow, without specifying what var to work on, that "if" works on $_.
So it's really
if $_ =~ /ID=([0-9]+)/
--Jon
What does this little button do . .<Click>;
"USER HAS SIGNED OFF FOR THE DAY"