Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Matching Images

by LanX (Chancellor)
on Nov 22, 2010 at 15:21 UTC ( #872984=note: print w/replies, xml ) Need Help??


in reply to Re^7: Matching Images
in thread Matching Images

BUK (honestly in your own interest!) if I were you, I would consider having long talks to people in RL or even visiting a therapist from time to time!

Or at least regularly taking long walks in the forest to relax.

Your emotional reactions are close to paranoia.

Cheers Rolf

Replies are listed 'Best First'.
Re^9: Matching Images
by BrowserUk (Pope) on Nov 22, 2010 at 15:31 UTC
    Your emotional reactions are close to paranoia.

    He he. You're way too ineffectual to carry that one off. Give it up as a bad job.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872984]
help
Chatterbox?
[Cosmic37]: if ( $line =~ /$mydt/ ) { print $line; }
[Cosmic37]: I try to match successive date times stored in variable $mydt
[Cosmic37]: I guess it is searching for the string "$mydt"
[Corion]: Indeed cool, erix ;)
[Cosmic37]: rather than the value of $mydt which is a date time strong such as 2016-01-01 12:30:56
[Corion]: Cosmic37: No, but maybe $mydt doesn't contain what you think it does, or it contains characters that are special in a regular expression? Try if( $line =~ /\Q$mydt\E/) { ... for a literal match
[Cosmic37]: I mean string grrr
[Corion]: Maybe add an else branch in which you print what the values of $line and $mydt are?
[Cosmic37]: ah thank you I will try
[Cosmic37]: you are right $mydt did not contain what I expected... :-D I will now think :-D

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-06-29 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (673 votes). Check out past polls.