Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Unicode substitution regex conundrum

by Polyglot (Pilgrim)
on Mar 04, 2008 at 06:14 UTC ( #671798=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use CGI;
    use CGI::Carp qw(fatalsToBrowser);
    ...
    require Encode::CN;
    require Encode::TW;
    require 5.004;
    
  2. or download this
    $name = decode("utf-8", $name); 
    $value = decode("utf-8", $value);
    
  3. or download this
    my $quest = $dbh->prepare($statement, { RaiseError => 1 }) 
           or die "Cannot prepare statement! $DBI::errstr\n";
    ...
      $c1=decode("utf-8", $c1);
      ...
    }
    
  4. or download this
    $line =~ s%(?:\p{IsSpace}*) #Match zero or more spaces
    (\bNOT)?                    #Match zero or one "NOT" operator(s)
    ...
    )                           #(end group)
                                #AND SUBSTITUTE THE ABOVE WITH THE BELOW
    %$2$3$table\.$columnName`$1`$like`"$l$wb$4$we$l"$5$6 $7 %xig;  
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://671798]
help
Chatterbox?
[Corion]: Meh. I need to find myself a better "programming" feed than r/programming (which is just HackerNews reposts and advertisements, very little code). Maybe I should select a list of links that I liked on r/programming and then google for ...
[Corion]: ... an aggregator site that also listed (ideally) all of these links once. And maybe also have an exclude list to blacklist some of the most spammy links that the site may have never mentioned at all

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-07-24 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (354 votes). Check out past polls.