# 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');
These are two
lines of text
TEXT
```
Perl is a weird language... Be very careful with the comma's and semi-colons in relation to here-documents. I prefer the third notation, but this is just a very personal decission, which I violate myself whenever I like.

Portable Presenter is written and maintained by Mark Overmeer. Copyright (C) 2000-2002, Free Software Foundation FSF.