Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Returning regexp pattern that was used to match

by Abigail-II (Bishop)
on May 03, 2004 at 15:17 UTC ( #350044=note: print w/replies, xml ) Need Help??

in reply to Returning regexp pattern that was used to match

You have a different problem in your code. Files can match multiple times, in fact, any file that matches 'F:/dean/' will also match 'dean'. But since you let the other of the clauses be determined by keys(), it might be that in one run of your program a file that matches 'F:/dean/' will be mirrorred to C:\test, and in another run 'rel_file|stat_8' will be returned.


  • Comment on Re: Returning regexp pattern that was used to match

Replies are listed 'Best First'.
Re: Re: Returning regexp pattern that was used to match
by crabbdean (Pilgrim) on May 03, 2004 at 15:22 UTC
    Yup, I'm aware of that. That will be in the documentation and come down to user discretion of use. <grinning> The features will be build in however. It would be recommended to the user to create different objects or even seperate programs to do different tasks and not to mix mirroring with deletions, sync'ing with copying etc. But it will all be bundled in the same module and interface.

    The Funkster of Mirth
    Programming these days takes more than a lone avenger with a compiler. - sam
    RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://350044]
[erix]: probably misremembered because of 2>&1 |
[erix]: oh nice, can do |& nowadays. Learned something new after all
LanX flagelates erix with a signed markov chain
[erix]: oh well, it's holy week, right? Thick-skin week. I just read that in the Philippines, some RCs practice self-crucifixion. Tough cookies I'd like to see
[LanX]: already?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-03-23 08:57 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (285 votes). Check out past polls.