in reply to Safety of linking to a text file

Check out Taint mode and @INC

HTH

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!

Replies are listed 'Best First'.
Re^2: Safety of linking to a text file
by gellyfish (Monsignor) on Aug 16, 2005 at 15:03 UTC

    I'm not quite sure how this relates to the OPs question, he is not talking about using or requiring a file so @INC doesn't come in to it, taint mode however might be useful if he was taking input from the user to specify which file to display but I am nto quite sure that this is the case.

    /J\

      I made the point for when/if he changes things, so the OP should read up on Taint mode for his own knowledge.

      But I take your points on board.

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!

        I would have thought a link to perlsec and a quick reference to tainting would have been more appropriate in that case.

        /J\