i want to get
  • #Foo with all div and span inside here
  • #bar with all div and span inside here
  • #moo with all div and span inside here
  • [download] use CGI::Pretty ":standard"; @names = ('Foo', 'Bar', 'Moo'); my $str = join(" ",@names); $data = li ( div({"class='inforno'"}, "$str< +/a>"), span({"class='inforno'"}, " Edit user ") ); print "$data\n";