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

Re^2: Why does the first $c evaluate to the incremented value in [$c, $c += $_] ?

by linuxer (Curate)
on Mar 04, 2014 at 23:18 UTC ( #1077005=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    1, 1
    2, 2
    3, 3
  2. or download this
    0, 0
    0, 0
    0, 0
  3. or download this
    0, 1
    1, 2
    2, 3

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1077005]
[ovedpo15]: can't I use just use lib $FindBin::Bin/../ bin" asuming that p2 is in ./bin and p1 is in /config? it says "cant find" altought p2 is
[moritz]: ovedpo15 "use lib" is only for .pm files
[moritz]: if you don't have .pm file, you might to use "require" or "do" with an absolute path
[ovedpo15]: I need to use FindBin thought. does FindBin finds only modules? or it can find perl script also?
[moritz]: maybe you should start looking at the documentation of FindBin?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-03-17 20:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (226 votes). Check out past polls.