Changeset 035465b in lab.git for twitter/show_status.pl
- Timestamp:
- Sep 13, 2010 9:32:55 PM (14 years ago)
- Branches:
- master, trunk
- Children:
- 35889d4
- Parents:
- 4e0b0a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
twitter/show_status.pl
r4e0b0a1 r035465b 29 29 my $res = $bot->show_status($id); 30 30 use Data::Dumper; 31 print Dumper $res; 31 foreach my $line (split /\n/, Dumper $res) { 32 if ($line =~ /undef/) { next; } 33 unless ($line =~ / => {/ 34 || $line =~ / = / 35 || $line =~ /status/ 36 || $line =~ /'text'/ 37 || $line =~ /created/ 38 || $line =~ /'id'/ 39 || $line =~ /name/ 40 || $line =~ / },/ 41 || $line =~ / };/ 42 ) { next; } 43 print $line, "\n"; 44 } 32 45 } 33 46 };
Note: See TracChangeset
for help on using the changeset viewer.