Help for this page

Select Code to Download


  1. or download this
    my @results = $schema->( 'People' )->search({
             Name => [ -and => { like => '%Orlando%' },            
    ...
                               { like => '%Jose%' },
                               { like => '%Fernando%' } ]
              } );
    
  2. or download this
    if($search_term =~ /\s+/) {
         my @search_term_array = split /\s+/, $search_term;
    ...
    my @results = $schema->( 'People' )->search({
             Name => [ -and => $whrcls ]
           } );