Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: To Pattern Match or not to Pattern Match

by sh1tn (Priest)
on Mar 04, 2005 at 00:17 UTC ( #436422=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @all  = 1..10;
    my @some = 1..5;
    ...
    # Elements that do not exist in @some array
    exists($h{$_}) or push @c, $_ for @all;
    # @c: 6 7 8 9 10
    
  2. or download this
    my $string = 'string';
    
    ...
    # false:
    $string !~ /^string$/ and print "$string is not string?\n";
    # STDOUT: string is really string
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://436422]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-01-25 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?