Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Accessing main::Constant

by nagalenoj (Friar)
on Dec 16, 2009 at 05:23 UTC ( #812972=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    package pq;
    use strict;
    sub pr { print main::FO1; }
  2. or download this
    use strict;
    use warnings;
    my $obj = new pq;
    pq->pr();        # says 'print() on unopened filehandle FO1 at l
    +ine 28.'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://812972]
Approved by biohisham
Front-paged by biohisham
[erix]: choroba I believe you ;)
[1nickt]: Corion I assume you are talking about Retry? Attempt doesn;t offer callbacks and has a much simpler interface. (Also written by someone I trust...)
[perldigious]: I train for long portaging/rowing trips by carrying my kayak to the river about a half mile from my house 2-3 times a week depending on weather... but due to a lingering winter, I haven't had long to train this year.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-05-24 12:58 GMT
Find Nodes?
    Voting Booth?