Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Creating a unique variable type

by Athanasius (Chancellor)
on Mar 26, 2013 at 08:23 UTC ( #1025460=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    $board[1][2]->is_threatened(7);        # OK:            7   is     an 
    +'Int'
    dd @board;
    $board[3][4]->is_threatened('foo');    # Runtime error: foo is not an 
    +'Int'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025460]
help
Chatterbox?
[Corion]: hippo: Yeah - I'll just avoid the project lead :)
[Corion]: marto: Yeah, it helps with the perspective :-D

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-07-26 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (386 votes). Check out past polls.