8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have been thinking about a few things that I have no idea of how to do with a scripting language (awk/sed I know to make proper use of just these 2).
1. Is there a way to have persistent variables? Say a variable that will be held in memory, and which can be accessed by subsequent... (7 Replies)
Discussion started by: jamie_123
7 Replies
2. Shell Programming and Scripting
I dont get something about sed
If i have a text file inside contain a:a:a:a:a
sed "s/"$title:$author:$price:$qtyAvailable:$qtySold"/"$Ntitle:$author:$price:$qtyAvailable:$qtySold"/"
This work!!
but
If i have a text file inside contain Tom Tom:La La:Di Di :Do Do :De DE
It cannot work... (2 Replies)
Discussion started by: GQiang
2 Replies
3. UNIX for Dummies Questions & Answers
I was talking to a coworker and we got into a discussion about the -9. No one knew where the -9 came from and it's not in the man. I suggested that it was like counting to 10 (0-9) and you finally get to the point that that's it, the durned thing is going to die. So how did the -9 come to mean... (3 Replies)
Discussion started by: pflickner
3 Replies
4. Shell Programming and Scripting
sorry, just simple question:
how can i do this in bash>
foreach i( 1 2 3 )
sed 's/Hello/Howdy/g' test$i > test$i.new
mv test$i.new test$i
end (6 Replies)
Discussion started by: kurosaki
6 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am seeing a curious issue with 'ls' command.
If I open a telnet session of my Solaris box and give "ls".
The output is in 3 columns.
a b c
d e f
g h i
j k l
However, if I give the same command after a couple of hours in the same window, it goes to 6 columns according to the... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies
6. Linux
To correct most of the problems with this language, How do I remove the DOS and WORD stuff from it? These come from the fact that it was written on those with a Microsoft supplied platform at the writers request. (1 Reply)
Discussion started by: River Freight
1 Replies
7. UNIX for Dummies Questions & Answers
I have a website but I do not for the life of me know how to upload using unix based command lines. Can someone send me a good site that has these commands. That and I am curious to know more about command line based interfacing. :D Curious Dummy (1 Reply)
Discussion started by: highway39
1 Replies
8. UNIX for Dummies Questions & Answers
Dear All
I am curious to know, that in a system compromise, when someone has access to a box, does that individual have access to a shell on the system, i.e. the person is logging into the system using telnet or SSH to remotely access the box?? How does this individual/ hacker access the system. ... (2 Replies)
Discussion started by: skotapal
2 Replies
WebService::YouTube::Feeds(3pm) User Contributed Perl Documentation WebService::YouTube::Feeds(3pm)
NAME
WebService::YouTube::Feeds - Perl interface to YouTube RSS Feeds
VERSION
This document describes WebService::YouTube::Feeds version 1.0.3
SYNOPSIS
use WebService::YouTube::Feeds;
my $feeds = WebService::YouTube::Feeds->new( { ua => '...' } );
my @videos = $feeds->tag($tag);
my @videos = $feeds->user($user);
my @videos = $feeds->recently_added;
my @videos = $feeds->recently_featured;
my @videos = $feeds->top_favorites;
my @videos = $feeds->top_rated;
my @videos = $feeds->most_discussed_month;
my @videos = $feeds->most_discussed_today;
my @videos = $feeds->most_discussed_week;
my @videos = $feeds->top_viewed;
my @videos = $feeds->top_viewed_month;
my @videos = $feeds->top_viewed_today;
my @videos = $feeds->top_viewed_week;
DESCRIPTION
This is a Perl interface to YouTube RSS Feeds.
See About RSS <http://youtube.com/rssls> for details.
SUBROUTINES
/METHODS
new( \%fields )
Creates and returns a new WebService::YouTube::Feeds object. %fields can contain parameters enumerated in "ACCESSORS" section.
parse_rss($rss)
Parses RSS and returns the result. $rss should be an object that XML::Simple can understand.
tag( $tag )
Returns an array of WebService::YouTube::Video object. $tag is a keyword string separated by a space.
See <http://youtube.com/rssls> for details.
user( $user )
Returns an array of WebService::YouTube::Video object. $user is an username.
See <http://youtube.com/rssls> for details.
recently_added( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
recently_featured( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_favorites( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_rated( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
most_discussed_month( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
most_discussed_today( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
most_discussed_week( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_viewed( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_viewed_month( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_viewed_today( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
top_viewed_week( )
Returns an array of WebService::YouTube::Video object.
See <http://youtube.com/rssls> for details.
ACCESSORS
ua
LWP::UserAgent object
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
WebService::YouTube::Feeds requires no configuration files or environment variables.
DEPENDENCIES
HTTP::Date, LWP::UserAgent, XML::Simple, WebService::YouTube::Util, WebService::YouTube::Video
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
AUTHOR
Hironori Yoshida <yoshida@cpan.org>
LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
perl v5.10.1 2010-08-01 WebService::YouTube::Feeds(3pm)