Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Lexical scoping like a fox

by convenientstore (Pilgrim)
on Jan 13, 2008 at 16:26 UTC ( #662192=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    print "Just after end of scope\n";
    print "\$a is ", defined($a) ? $a : 'undef', $/;
    print "\$b is ", defined($b) ? $b : 'undef', $/;
  2. or download this
    [root@myserver tmp]# cat -n !$
    cat -n ./per_begin.pl1
    [root@myserver tmp]# ./!$
    Can't localize lexical variable $x at ././per_begin.pl1 line 14.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://662192]
[stevieb]: I don't know what you mean. I write the code in C/C++ that accesses the ICs per the datasheet, wrap it for Perl, then use them. My code ensures that the functions/methods from Perl do the right thing for the chips/sensors etc
[stevieb]: At least that's what I'm working on right now. I've also been updating my automated test software Test::BrewBuild so it handles this work properly. It's not really easy meshing high level languages with low-level hardware :)
[stevieb]: this link is probably better for an overview of my test software

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-06-25 23:12 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (572 votes). Check out past polls.