File: browse

package info (click to toggle)
libwww-myspace-perl 0.82-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 728 kB
  • ctags: 170
  • sloc: perl: 4,646; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl -w -I../lib
# This script is here for testing.  browse method doesn't work yet.

use WWW::Myspace;

my $myspace = new WWW::Myspace( auto_login => 0 );;

my @friends = $myspace->browse( {} );

print $myspace->error . "\n" if $myspace->error;

print "Found " . @friends . " friends\n";

foreach my $id ( @friends ) {
	print $id . "\n";
}