Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

How does 'Select Code to Download' Work?

by SiteDocClan
on Jul 16, 2007 at 20:32 UTC ( #626918=sitefaqlet: print w/replies, xml ) Need Help??

How does 'Select Code to Download' Work?

The 'Select Code to Download' feature is available via a link labeled Select in a bar immediately below a node containing multiple <code> blocks. It appears in a line which looks like the following:

Select or Download Code — Send private /msg to Paco

Note, again, that the Select link only appears if the node being displayed contains more than one <code> block.

When you click on the Select link, you are taken to a page which allows you to select one or more of the code blocks from the source node. Each code block has a checkbox next to it. You check all the ones you want to download in one operation, then click the 'Download Selected Code' button. The result is plain text page (MIME type text/plain) containing the text of all the code blocks you selected. If you selected more than one, they will be separated in the resulting page by lines of the following text:

Note: if you click the button with none of the checkboxes checked, it will be the same as if you had all of the checkboxes checked.

Each code block also has a link next to it, "download this", which is just like the [download] links which appear on the main node display beneath each code block.

Show inline code blocks? What's that about?

The effect of setting this setting is that "inline" code strings will also be included in the list of code blocks available for download in this page.

This is a sticky user configuration setting. That is, when you check or clear the checkbox and click 'stumbit', PerlMonks remembers the setting.

Log In?

What's my password?
Create A New User
[Discipulus]: many monks want to be hired tonight, other haired and some aired
[Lady_Aleena]: Discipulus, do glob recurse?
[Lady_Aleena]: s/do/does/;
LanX wants to be fired
[Discipulus]: i fear no
[Discipulus]: i invented also 'gired'
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info
[Lady_Aleena]: Discipulus, I was able to get the sum of the seconds on the command line using awk. Then I ran the result through a perl script and got the result. It came bach with 4 days, 9 hours, 56 minutes, 43 seconds.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-04-23 20:28 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.