in reply to Re^2: find a substring of unknow lenght if it is in a hash
in thread find a substring of unknow lenght if it is in a hash

thank you

I will add the error message it returns next time....Idon't know how my eyes missed that "s"...I spent time so much time trying to understand the error before asking. but ,now that you've pointed it out , I can see it clearly on the error message

Use of uninitialized value $tring in index at C:\Users\Alberto\Documents\NetBeansProjects\PerlProject\Perl Essen +tials\hash_ref\partial_hash_check.pl line 49 (#3

yeap, message said it was experimental too but I didn't actually understood that it may nt work...WILL stick with your advice.

grazie

Replies are listed 'Best First'.
Re^4: find a substring of unknow lenght if it is in a hash
by AnomalousMonk (Archbishop) on Jun 29, 2015 at 21:20 UTC
    ... I didn't actually understood that it [~~] may nt work...

    It may not work, but the greater danger is that it may work, and the way it works may be changed without notice in some future version of Perl — indeed, depending on the version of Perl you're using, it may already have been changed!

    Yes, it's definitely best to keep to the safe, well-lit archives and study halls of the Monastery and avoid the dark, dank cellars where Wizards delve!


    Give a man a fish:  <%-(-(-(-<