Re: Copying URL's
RayS said:
What is the idea of the perl program though Trotsky?
perl ("programmable extraction and reporting language" if I recall correctly) is the geek equivalent of the swiss army knife. (although geeks all have swiss army knives or leatherman doobries, so that's a crap analogy).
It's a program that allows you to trawl through a file, database, web page, whatever and generally piddle about with what you find. You can do things like extract a set of records from a database, reorganise them, add extra bits, put them all back. To use the example here, the fav2html script runs through your Favorites directory, extracts all the labels for your favorites, then extracts the associated "http://..." bit for each, writes an HTML header and footer and puts all that data in the middle in a way that allows you op[en the output as a web page and to click on 'em.
Basically if you can do it by printing out the file, looking through it and writing out the bits you want, perl will do it. perl will also probably do it if someone says "I wish we could do
X, but it just can't be done".
You can spend a week and £1500 learning the basics of it, there are several books, there are abunch of geeks called the Perl Monks who can make it sing and dance (
http://www.perlmonks.org/).
Perhaps a more appropriate analogy is that it's the programming equivalent of a fully loaded GS Adventure - it will do almost anything you want but it won't necessarily do it in a pretty way (and there's a reasonable chance you will end up on your arse in the middle of the desert if you get too smartassed with it).
Most people who have come up against it by download it and install it on every machine they go near "just in case". It has got me out of some sticky problems, I like it...
(switches off faintly evangelical geek mode)