|Do you know where your variables are?
How does 'Select Code to Download' Work?by SiteDocClan (Initiate)
|on Jul 16, 2007 at 20:32 UTC
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:
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.