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

Mixing tied variables with goto label

by Limbic~Region (Chancellor)
on Nov 15, 2005 at 21:25 UTC ( #508797=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    START:
    print "Hello, world\n";
    jump();
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    sub TIESCALAR { bless {}, $_[0] }
    sub STORE     { print "Read only\n"; }
    sub FETCH     { goto END; }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://508797]
Approved by Arunbear
Front-paged by Roy Johnson
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-08-02 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (18 votes), past polls