Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: triyng to built a module

by toolic (Bishop)
on Jul 22, 2013 at 18:57 UTC ( #1045701=note: print w/ replies, xml ) Need Help??

in reply to triyng to built a module

Tip #1 from the Basic debugging checklist: use diagnostics:

(F) You've said "use strict" or "use strict vars", which indicates + that all variables must either be lexically scoped (using "my" or +"state"), declared beforehand using "our", or explicitly qualified to say which package the global variable is in (using "::").

Declare all variables with my:

use strict; use warnings; my $char = chr(0x394); my $code = ord($char); printf "char %s is code %d, %#04x\n", $char, $code, $code;

See also: perlintro

UPDATE: Geez, this problem was solved for you a month ago :(

Comment on Re: triyng to built a module
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-10-06 21:29 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (161 votes), past polls