in reply to Re^2: Alarm In Perl
in thread Alarm In Perl

I want to send a message from thread to main so that some operation can be performed in the main Eg: alarm can be set in main

Replies are listed 'Best First'.
Re^4: Alarm In Perl
by BrowserUk (Patriarch) on Jul 25, 2013 at 12:21 UTC

    I repeat: "You cannot" do so with alarm.

    Describe your overall purpose and maybe we can suggest another way of achieving it.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^4: Alarm In Perl
by hippo (Archbishop) on Jul 25, 2013 at 17:20 UTC

    This will depend on what precisely you mean by "message", but consider sockets or shared variables or signals as some things to investigate first.

    Perhaps see perlipc for starters.