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 revision
Previous revision
Next revisionBoth sides next revision
user_guide:perl_intro [2019/02/06 18:47] – added links oroehriguser_guide:tutorials:perl_intro [2019/02/11 16:21] – ↷ Page moved from user_guide:perl_intro to user_guide:tutorials:perl_intro 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