1. a problem using Tree::DAG_Node?
2. using tree and entries with spaces
3. Tree view using tkx module.
4. Tree view of directory while using Subversion
5. Problem with Tk::Tree and indicator
6. Walking a tree and extracting info... Problems
I am new to the perl thing and i am trying to extract some date from
some web pages and am having problems.... can someone please tell me
what i am doing wrong... i think i have become a charter member of the
"idiots 'r' us" club... :o)!
this is my script... pretty simple so far, i am just trying to get one
piece of info working to start. i can traverse the directory and print
the filenames, but it only seems to get the data and do the pattern
matching from the first file in the directory....
any hints would be appreciated!
#!/usr/bin/perl
$dir="/Users/test/";
opendir(DIRECTORY, $dir) || die("Cannot open directory");
@thefiles= readdir(DIRECTORY);
closedir(DIRECTORY);
foreach $file (@thefiles) {
unless ( ($file eq ".") || ($file eq "..") || ($file eq ".DS_Store")
) {
open FILE, "$dir/$file" or die "Can't open $file : $!";
while( <FILE> ) {
s/\t//; # ignore tabs by erasing them
next if /^(\s)*$/; # skip blank lines
chomp; # remove trailing newline characters
push @lines, $_; # push the data line onto the array
}
close FILE;
$string = "@lines";
$n++;
print "$n:$file:";
$string =~ /<span class=searchtitle><B> (.*?)<\/B><\/span><BR>/is;
print "$1\n"; # print html page title
}
}
7. After authentication Tree view is not working properly. - ASP.NET Web Controls
8. Tree View Double Click Event Handler not working properly
Hello, I have a tree view which has Check Box's beside each node. In the BeforeCheck event Handler I have canceled the event to prevent the user from Checking/ Un-checking the box. I am trying to now set up the DoubleClick event but the first time the user double clicks the event is not called. For example the first time clicked it will expand/Collapse the node but the event will not be called. Every time after that it works correctly. A co-worker also has a similar problem with right clicking to bring up a context menu. The first time it does not work then every time after that it works as expected. Any ideas would is appreciated. -Navid-