Hi all,
I'm still a beginner but I have a project I want to work on.
I want to pull price data from a website and would like your advice on
getting started.
This is my idea and a basic implementation of the process:
1) The input is coverted to the web link, i.e., if I type in "force of will"
the
I've been trying to figure out how to print 2 arrays into 2 columns. I
came across this code and it works but gives me a problem in the
output.
*BEGIN CODE*
sub transpose {
map { my $i = $_; [ map $_->[ $i ], @_ ] } 0 .. $#{ $
On Thu, Dec 1, 2011 at 5:32 AM, Rob Dixon wrote:
>
> If I am understanding you correctly then there is no need for anything
> so convoluted as your transpose subroutine. The program below does what
> you need.
>
> HTH,
>
> Rob
>
>
> use strict;
> use warnings;
>
> my @unknown_abs = ( 0.1, 0.2, 0.3
Hi,
I'm doing one of the Project Euler exercises which asks the sum of 100
fifty-digit numbers[1]. My code is 2 parts:
I open the text file containing the digits and put into an array:
BEGIN_CODE=
open (F, "Fifty_hundred.txt") || die "Could not open
Hi,
I'm trying to parse out the emails addresses from a webpage and I'm
using the HTML::TreeBuilder::XPath module. I don't really understand
XML and it's been a while since I worked with perl*. So far I mashed
up a code by looking through past examples online. The HTML portion
for the email is like
Hi again,
I tried to use the treebuilder modules to get emails from a webpage
html but I don't know enough. It just gave me more headaches.
My current method get the emails is to go to the site, put the source
code in MS Word, and run a regex to get all the emails in that html
page.
I think I can