home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!veritas!amdcad!hobbes!ericw
- From: ericw@hobbes.amd.com (Eric Wedaa)
- Newsgroups: comp.lang.perl
- Subject: Re: help with if ( ! $a =~ /##/ ) PLEASE!!!
- Message-ID: <ericw.715048613@hobbes>
- Date: 29 Aug 92 00:36:53 GMT
- References: <ericw.714945775@bach> <CKD.92Aug27231701@loiosh.eff.org>
- Sender: usenet@amd.com (NetNews)
- Distribution: usa
- Organization: Advanced Micro Devices, Inc.
- Lines: 29
- Nntp-Posting-Host: hobbes
-
- Once again proving, "There's More Than One Way To Do It."
-
- >Eric> == Eric Wedaa <ericw@bach.amd.com>
-
- > Eric> I am having a h!@# of a time getting this code fragment to
- > Eric> work:
-
- > Eric> if ( ! $a =~ /#/ ){
- > Eric> some_random_bit_of_perl;
- > Eric> }
-
-
- >if ($a !~ /#/) {
- > some_random_bit_of_perl;
- >}
-
- and
-
- >if (!($a =~ /#/ )){
- > some_random_bit_of_perl;
- >}
-
- Thanks!
-
- --
- Eric Wedaa - eric.wedaa@amd.com | Two more kinds of lies...
- {ames apple uunet}!amd!ericw | Release Dates, and Benchmarks
- Advanced Micro Devices, M/S 167 PO Box 3453 Sunnyvale, CA 94088-3453
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-