I am trying to extract a table (.. until
) and its content from an HTML file.
With the file I have something like this
.
.
.
There could be more that one table in the file.however I am only interested
in the table within .
/^.*.+?()\s*<\/div>.*$/ims
The above and various variations I
"$user/token", "$token"); #
Thanks for your input.
Cheers
Mimi
On 31 July 2014 23:29, David Precious wrote:
> On Thu, 31 Jul 2014 17:01:38 +0100
> "mimic...@gmail.com" wrote:
>
> > I receive error when calling GitHub API from Perl (LWP). B
Hi
I receive error when calling GitHub API from Perl (LWP). Basically, the
problemis authentication failure, although the username and password
combination is valid.
In the code snippet below, I have tried changing the values passed to
credentials() in several ways, however it does not work.
#!/
The following works, but is this the way to go?
#!/usr/bin/env perl
use strict;
my ($min_yr, $max_yr);
$min_yr =(localtime)[5] + 1900 - 18;
$max_yr = (localtime)[5] + 1900 - 73;
for (reverse($max_yr .. $min_yr)){
print "\$_\<\/option\>\n";
}
Mimi
On 16 September 2
I have this simple script to automatically print HTML selection option.
#!/usr/bin/env perl
use strict;
for (reverse(1943 .. 1991)){
print "\$_\<\/option\>\n";
}
I need to print all the years between 18 and 73 without hard coding the
range in the for loop as in the above. I am considerin
In my script, I previous connected and disconnected to the database within
every subroutine. Now I have made changes and it now connect/disconnect to
mysql only once within main:: (at the start and end of script
respectively). Although my script works fine, I am wondering whether this
is the best
print "$x\n" or "invalid\n";'
1972-01-29
Most of the date modules on CPAN cannot do the job for me. I spent time
reading documentations but as it now stands, I have to do this myself.
Mimi
On 24 July 2013 15:24, mimic...@gmail.com wrote:
> I'm trying to convert dates (input from user in any format) to ISO and
> check it's valid.
>
> Can someone provide an example of this using Date::Simple or Date::Manip?
>
> Mimi
>