Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Since 1998 I've been using Javascript for exactly this, curtesy of DynAPI [] (originally a Dan Steinman project []). You can do simple things such as:

    <script language="Javascript" src="../src/dynapi.js"></script>
    <script language="Javascript">
    DynAPI.include('d ynapi.api.*');

    To load all your dynapi.api.* library files. Or you can simply include a single file.

    PS: There is no space between 'd' and 'ynapi' in the above example. use.perl code h

    • PS: There is no space between 'd' and 'ynapi' in the above example. use.perl code has inserted it for some strange reason.

      One way in which people can abuse sites is by posting comments that contain ridiculously long strings of characters with no spaces in it them: web-browsers don't have anywhere to split the line, so the box they are in gets massively extended sideways, pushing out other columns, and generally messing up the page.

      Slash avoids this by inserting spaces into long 'words', with the unfortunate effect you've experienced. Sometimes you can make it less bad by inserting a space yourself somewhere else. For example, if you put a space between the open paren and the first quote mark, that would still be valid JavaScript (if a little ugly).