# Notation of Strings

PPresenter
Manual
Tutorial
Strings
Portable Presenter is a package designed to give presentations. The presentation is written in Perl/Tk. Perl is a weird language, and that's an understatement: there are a few hundred ways to denote your information.

Basically, writing a presentation with PPresenter is writing option-lists. On this page, I show a few ways how to denote these option-lists.

## Examples

Now a few alternatives which each produce exactly the same result.
```1.  \$show->addSlide(-title   => 'my first show',
-reqtime => 30,
-text    => "These are two\nlines of text\n");
```
is equivalent to
```2.  \$show->addSlide('-title', 'my first show',
'-reqtime', 30,
'-text', 'These are two
lines of text
');
```
is equivalent to
```3.  \$show->addSlide
( -title     => "my first show"
, -reqtime   => '30'
, -text      => <<TEXT
These are two
lines of text
TEXT
);
```
is equivalent to
```4.  \$show->addSlide(
-title     => "my first show",
-reqtime   => 30,
-text      => <<TEXT);
These are two
lines of text
TEXT
```
is equivalent to
```5.  my @x = ( -title => "my first show", -reqtime => 30, '-text');