Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: triyng to built a module

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

in reply to triyng to built a module

The consequent of using strict is that you must either 'declare' variables with my or our, or use a fully qualified package name (see strict vars). The above code can be repaired with
#!/usr/bin/perl use strict; use warnings; my $char = chr(0x394); my $code = ord($char); printf "char %s is code %d, %#04x\n", $char, $code, $code;

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-10-28 01:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (374 votes). Check out past polls.