Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: sockets and such in Perl

by neniro (Priest)
on Jul 03, 2005 at 10:31 UTC ( [id://472005]=note: print w/replies, xml ) Need Help??


in reply to sockets and such in Perl

Isn't it easier to use threads instead of processes for this purpose, cause you can access the same variables? I haven't used either of them but i mean that was one of the advantages about using threads?

Replies are listed 'Best First'.
Re^2: sockets and such in Perl
by halley (Prior) on Jul 03, 2005 at 15:56 UTC
    I am trying to code up a project for a class - the assignment is to create 3 separate processes,

    Sure, threads are easier. But it's harder to learn inter-process communication (and get a good grade) if you rely on the crutch of shared variables.

    --
    [ e d @ h a l l e y . c c ]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found