Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Perl network programming

by jbert (Priest)
on Oct 03, 2007 at 09:27 UTC ( #642349=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cfg_file = "/my/config/file";
    open(my $fh, "<", $cfg_file)
        or die "can't read config file [$cfg_file] for reading: $!";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://642349]
help
Chatterbox?
[sierpinski]: thanks LanX that helps
[haukex]: the first index is always 0 - $#array gives you the last index in @array
[sierpinski]: gotcha, thanks
[LanX]: length = last index +1

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-12-13 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (369 votes). Check out past polls.

    Notices?