Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: perl question, re characters - September 12, 1998 at 02:49:35

You are here: irt.org | BBS | perl question, re characters [This BBS is closed]

Posted by Osvaldo on September 12, 1998 at 02:49:35:

How do I do this;

$value = " (blank)" if ( ($name = "something") && ($value contaings anything but a-z A-Z or 0-9));

Is it like this?
$value = "" if ( ($name eq "something") and ($value !~ /a-z,A-Z,0-9/));
(doesn't quite seem right to me)

Thanks in advance :-)
Follow-ups:

You are here: irt.org | BBS | perl question, re characters [This BBS is closed]

©2018 Martin Webb