60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator 2016-12-05 08:44:08 Sun Dec 4 21:44:08 2016 rss,clean Sun Dec 4 21:44:08 2016 Anonymous Monk 961 30 PerlMonks 20161204214408 http://perlmonks.org/ Pattern matching and deriving the data between the "(double quotes) in HTML tag sp4rperl http://perlmonks.org/index.pl?node_id=1177192 #/usr/bin/perl my $timeLimit = ''; $timeLimit =~ m/startTime="(.*?)"/g; my $startTime = $1; chomp($... perlquestion Mon, 05 Dec 2016 03:29:00 +0000 http://perlmonks.org/index.pl?node_id=1177192 1177192 1177190 2016-12-04 22:29:00 sp4rperl Re: SQL Syntax error from recursive DBIx::Class populate ribasushi http://perlmonks.org/index.pl?node_id=1177201 Hi Paul, This is an actual bug introduced by (I think) https://github.com/dbsrgits/dbix-class/commit/d0cefd99a. I will fi... note Mon, 05 Dec 2016 08:12:04 +0000 http://perlmonks.org/index.pl?node_id=1177201 1177201 594356 2016-12-05 03:12:04 ribasushi Re^3: How do I determine if a variable contains a type glob? Tux http://perlmonks.org/index.pl?node_id=1177200 That, and if someone trichks you there $ perl -wE'my $foo = bless &#91;&#93;,"GLOB"; say ref $_ for $foo, \*ARGV' GLOB GLOB $ perl -MScalar::Util=reftype -wE'my $foo = bless &#91;&#93;,"GLOB"; sa... note Mon, 05 Dec 2016 07:20:45 +0000 http://perlmonks.org/index.pl?node_id=1177200 1177200 200365 2016-12-05 02:20:45 Tux Re^4: How do I determine if a variable contains a type glob? ikegami http://perlmonks.org/index.pl?node_id=1177199 And what do you think *fh is. (It's rhetorical.) A glob, which is what you should have used. You used \*fh instead. You don't (*CA... note Mon, 05 Dec 2016 07:18:27 +0000 http://perlmonks.org/index.pl?node_id=1177199 1177199 381608 2016-12-05 02:18:27 ikegami Re^4: How do I determine if a variable contains a type glob? (bless) tye http://perlmonks.org/index.pl?node_id=1177198 Just FYI, when you bless a reference, the blessing is actually stored in the referenced variable. So, due to this current implementation detail, your code can actually be tripped up by such a we... note Mon, 05 Dec 2016 07:08:50 +0000 http://perlmonks.org/index.pl?node_id=1177198 1177198 22609 2016-12-05 02:08:50 tye Re: Pattern matching and deriving the data between the "(double quotes) in HTML tag kcott http://perlmonks.org/index.pl?node_id=1177197 G'day <a href="?node_id=1177190">sp4rperl</a>, Welcome to the Monastery. I see <a href="?node_id=1172229">tybalt89</a> has provided <a href="?node_id=1177193">a fix</a> for your specific problem and <a href="?node_id=968231">Athanasius</a> ... note Mon, 05 Dec 2016 06:42:05 +0000 http://perlmonks.org/index.pl?node_id=1177197 1177197 861371 2016-12-05 01:42:05 kcott Re: Pattern matching and deriving the data between the "(double quotes) in HTML tag davido http://perlmonks.org/index.pl?node_id=1177196 This looks like an XML element. You might consider an XML parser too heavy for simply grabbing a couple of dates, but parsing libraries exist because XML is not as simple as people wish it were. R... note Mon, 05 Dec 2016 05:23:47 +0000 http://perlmonks.org/index.pl?node_id=1177196 1177196 281137 2016-12-05 00:23:47 davido Re: Pattern matching and deriving the data between the "(double quotes) in HTML tag AnomalousMonk http://perlmonks.org/index.pl?node_id=1177195 Further to <a href="?node=Athanasius">Athanasius</a>'s <a href="?node_id=1177194">reply</a>: NB: It's not quite right to say that the /g modifiers in the m//g matches are doing nothing. In fact, they're actively screwing y... note Mon, 05 Dec 2016 05:00:13 +0000 http://perlmonks.org/index.pl?node_id=1177195 1177195 634253 2016-12-05 00:00:13 AnomalousMonk Re: Pattern matching and deriving the data between the "(double quotes) in HTML tag Athanasius http://perlmonks.org/index.pl?node_id=1177194 Hello <a href="?node=sp4rperl">sp4rperl</a>, and welcome to the Monastery! To elaborate a little on <a href="?node=tybalt89">tybalt89</a>&rsquo;s <a href="?node_id=1177193">answer</a>: By declaring $endTime with my, you make it a lexical varia... note Mon, 05 Dec 2016 03:56:57 +0000 http://perlmonks.org/index.pl?node_id=1177194 1177194 968231 2016-12-04 22:56:57 Athanasius Re: Pattern matching and deriving the data between the "(double quotes) in HTML tag tybalt89 http://perlmonks.org/index.pl?node_id=1177193 #!/usr/bin/perl # http://perlmonks.org/?node_id=1177192 use strict; use warnings; my $timeLimit = '... note Mon, 05 Dec 2016 03:41:47 +0000 http://perlmonks.org/index.pl?node_id=1177193 1177193 1172229 2016-12-04 22:41:47 tybalt89 sp4rperl sp4rperl http://perlmonks.org/index.pl?node_id=1177190 user Mon, 05 Dec 2016 03:04:41 +0000 http://perlmonks.org/index.pl?node_id=1177190 1177190 1177190 2016-12-04 22:04:41 sp4rperl