Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (5)
As of 2015-07-02 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls