user_guide:tutorials:perl_intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
user_guide:perl_intro [2019/02/06 18:47] – added links oroehriguser_guide:perl_intro [2019/02/07 14:17] – repaired $ sign fail oroehrig
Line 4: Line 4:
  
 ====Standard data structures==== ====Standard data structures====
-The Perl programming language originally provides three different data structures, scalars($), arrays(@), and hashes(%). The user always has to specify the type of a variable using the appropriate symbol ''$'', ''@'', or ''%''. If you forget to do so, you will receive the following error message:+The Perl programming language originally provides three different data structures, scalars(''$''), arrays(''@''), and hashes(''%''). The user always has to specify the type of a variable using the appropriate symbol ''$'', ''@'', or ''%''. If you forget to do so, you will receive the following error message:
 <code> <code>
- polytope > i=5;+> i=5;
 polymake:  ERROR: Unquoted string "i" may clash with future reserved word. polymake:  ERROR: Unquoted string "i" may clash with future reserved word.
 </code>\\ </code>\\
  • user_guide/tutorials/perl_intro.txt
  • Last modified: 2019/02/11 16:21
  • by oroehrig