No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Using WWW::Mechanize::Firefox there exists the ability for a PERL script to grab the URL of the active firefox tab amongst other abilities. I want to be able to do the same for Google chrome. Does anyone know of a way to obtain the Chrome active tab URL through PERL? Thanks … |
|
Hi, i have 2 pieces of code that i created, both of which do exactly the same thing and i am trying to benchmark them to see which is generally more efficient. As such i used the code suggested by perldoc in the following format: use Benchmark; $t0 = Benchmark->new; … |
|
if (defined($ARGV[0]) && $ARGV[0] ne "") { $f=""; #initialize $f $dir = $ARGV[0]; chomp($dir); #directory paths should use '' instead of '/' if ($dir =~ /^\w:\//) { $_ = $dir; s/\//\\/ig; $dir = $_; } #seperate filename from directory path if given if ($dir =~ /.*\.htm$|\.html$/i) { $f = substr($dir, … |
|
Hi, i'm trying to write a small script for the website "www.fanfiction.net." This small perl script is part of a much larger script, which is why it has to be in Perl. When you are logged in and go to any of the stories on the site there is a … |