Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Query about barewords

by remiah (Hermit)
on Sep 06, 2012 at 16:52 UTC ( #992145=note: print w/ replies, xml ) Need Help??


in reply to Query about barewords

Hello.

"clicked" may be a constant. It maybe imported when you declare to use some module.

#!/usr/bin/perl use warnings; use strict; package notify; use constant { active => 2, }; 1; package main; use constant { clicked=>1, }; print clicked . "\n"; print notify::active . "\n"; exit;
So, currently, you don't have package "notify" declaring "active" is a constant. If I am looking different direction, forgive me please.


Comment on Re: Query about barewords
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992145]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-10-23 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls