Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

poe::loop::tk(3pm) [debian man page]

POE::Loop::Tk(3pm)					User Contributed Perl Documentation					POE::Loop::Tk(3pm)

sub skip_tests {
  return "Tk needs a DISPLAY (set one today, okay?)" unless (
    (defined $ENV{DISPLAY} and length $ENV{DISPLAY}) or $^O eq "MSWin32"
  );
  my $test_name = shift;
  if ($test_name eq "k_signals_rerun" and $^O eq "MSWin32") {
    return "This test crashes Perl when run with Tk on $^O";
  }
  return "Tk tests require the Tk module" if do { eval "use Tk"; $@ };
  my $m = eval { Tk::MainWindow->new() };
  if ($@) {
    my $why = $@;
    $why =~ s/ at .*//;
    return "Tk couldn't be initialized: $why";
  }
  return; }

NAME
POE::Loop::Tk - a bridge that allows POE to be driven by Tk SYNOPSIS
See POE::Loop. DESCRIPTION
POE::Loop::Tk implements the interface documented in POE::Loop. Therefore it has no documentation of its own. Please see POE::Loop for more details. POE::Loop::Tk is one of two versions of the Tk event loop bridge. The other, POE::Loop::TkActiveState accommodates behavior differences in ActiveState's build of Tk. Both versions share common code in POE::Loop::TkCommon. POE::Loop::Tk dynamically selects the appropriate bridge code based on the runtime environment. SEE ALSO
POE, POE::Loop, Tk, POE::Loop::TkCommon, POE::Loop::PerlSignals. AUTHORS &; LICENSING Please see POE for more information about authors, contributors, and POE's licensing. perl v5.10.1 2010-04-11 POE::Loop::Tk(3pm)

Check Out this Related Man Page

POE::Resource::Sessions(3pm)				User Contributed Perl Documentation			      POE::Resource::Sessions(3pm)

NAME
POE::Resource::Sessions - internal session manager for POE::Kernel SYNOPSIS
There is no public API. DESCRIPTION
POE::Resource::Sessions is a mix-in class for POE::Kernel. It provides the internal features that manage sessions, regardless of the session type. It is used internally by POE::Kernel. so it has no public interface. SEE ALSO
See POE::Session and POE::NFA for one type of session. CPAN also have others. See "Sessions" in POE::Kernel for a discussion about POE::Kernel sessions. See "Session Lifespans" in POE::Kernel to learn why sessions run, and how to stop them. See "Session Management" in POE::Kernel for information about managing sessions in your applications, and the events that occur when sessions come and go. See "Session Helper Methods" in POE::Kernel for friend methods between POE::Kernel and POE::Session classes. See "Resources" in POE::Kernel for for public information about POE resources. See POE::Resource for general discussion about resources and the classes that manage them. BUGS
None known. AUTHORS &; COPYRIGHTS Please see POE for more information about authors and contributors. perl v5.14.2 2012-05-15 POE::Resource::Sessions(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

IF Loop

I am doing the following and it returns with unknown operator. I am basically checking the file size, if it not empty then i need to get an e-mail, otherwise just say NO errors in the file. Need help -------------------------------------------- COUNT = `wc -l output(filename)` if then mailx... (8 Replies)
Discussion started by: gundu
8 Replies

2. Shell Programming and Scripting

Loop question

hi, how would i go about making a loop which gets each line from a single text file, set it to a variable and then print it to screen? thanks eg: #!/bin/sh FILE="somefile.txt" text_line="" what kind of loop would use here? (18 Replies)
Discussion started by: strike
18 Replies

3. Shell Programming and Scripting

Else Loop Exiting Early

All, I'm having a problem w/this function. Specifically, I want to call another function (get_stats) when the process in the else completes (the initial if and the elsif seem to work fine). But what's happening is the get_stats function call is running after the else runs only once, NOT when it... (8 Replies)
Discussion started by: GregWold
8 Replies

4. Shell Programming and Scripting

Loop through found files

Hi I am trying to write a script which will loop through all files that end in ".txt" and ask user if they want to delete the file or not #this print out all files dir=/root/etc/ find $dir -name "*.txt" output: 1.txt 2.txt etc but what i really want is 1.txt delete(Y/N): 2.txt ... (11 Replies)
Discussion started by: Calypso
11 Replies

5. Shell Programming and Scripting

How to loop through every char in a string

for example this string: gLZMQp8i Loop become easy if we add space between each char, How to do it? or other solutions are welcome. (9 Replies)
Discussion started by: honglus
9 Replies

6. Shell Programming and Scripting

Loop difficulty

hi all I am new to unix and want to create a loop to repeat the loop and before that it ask me to do so.I know "while" may help but I put it in my work and getting stuk with it.any help appreciated. (13 Replies)
Discussion started by: samsami1971
13 Replies

7. UNIX for Advanced & Expert Users

DISPLAY=local_host:0.0 ; export DISPLAY

Hi, from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server. On AIX via PUTTY I run DBCA which has a grphical interface. Then : #DISPLAY=local_host:0.0 ; export DISPLAY $(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca _X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies

8. Shell Programming and Scripting

Loop with Find—damn spaces!

Hi Guys, I'm trying to find all files with a particular extension and then loop some actions. The problem is that if the files have spaces in their names I get end up being each word as a separate result rather than the entire file. ext=".txt" out=".rtf" for i in $( find "$1" -name "*$ext" );... (9 Replies)
Discussion started by: imonkey
9 Replies

9. Shell Programming and Scripting

While Loop not running

echo "The recreate was successfully completed for device file $LCL_CLN_FILE." >> $LOG_FILE remaining=$(symclone -sid $LCL_SID -f $ETC/$LCL_CLN_FILE query | grep MB | awk '{print $2}') if then while do echo "$remaining MB's to be copied........." >> $LOG_FILE ... (10 Replies)
Discussion started by: rajsan
10 Replies

10. UNIX for Dummies Questions & Answers

While Loop Errors

I have the following chunk of code... while when I try to execute this script, it outputs an error "test: ] missing" Is there a syntax error here? (9 Replies)
Discussion started by: itech4814
9 Replies

11. Shell Programming and Scripting

Do While Loop Command help

Hello, Can some one help me with do-while loop command and writing the out put to a file. Below is the command I want to use. Command: netstat -an |grep 1421 |grep "ESTABLISHED" |wc -l thanks in advance. (11 Replies)
Discussion started by: skrv
11 Replies

12. Shell Programming and Scripting

Help Me With the Loop.

I am inputing three variables in the script where i am running loop for two times.so right now my output is coming like A B C A1 B1 C1 But i want output like A A1 B B1 C C1 Please suggest what i will do now ? Do i have to save the output in three different files or is there... (11 Replies)
Discussion started by: nirjhar17
11 Replies

13. UNIX for Dummies Questions & Answers

Loop for file merging in a folder

Dear all, I have a few files in a folder (lets say 5) and each have a few lines in them. I want to create merges of each of them with the other ones e.g. I need the following merges I tried to write a loop and started with combinations of 2, I get the write file names but for each... (17 Replies)
Discussion started by: A-V
17 Replies

14. UNIX for Advanced & Expert Users

Bash : While Loop behavior

Good Morning I think there may be something I dont understand fully. The following code works well, but I dont like the set domen method. #!/bin/bash # domen="y" while do echo " M A I N - M E N U" echo "1. Contents of /etc/passwd" echo "2. List of users currently logged" echo... (10 Replies)
Discussion started by: popeye
10 Replies

15. Shell Programming and Scripting

Loop iteration with two variables

Hello, I have been stuck on this for some time and invested many hours trying to find a solution. I am trying to either loop through two variables or or two arrays and not sure how to do it. I am limited to ksh only, and don't have the ability to do a foreach, or for i AND for j etc...I... (19 Replies)
Discussion started by: Decoy Octopus88
19 Replies