in reply to Re: login juniper ERX
in thread login to juniper ERX

Quick tip:

If you don't want to worry about escaping stuff twice, you can use

Prompt => map("/$_/", qr/...any regexp.../)

as in

Prompt => map("/$_/", qr/\[ERX02#\]/)

You can even safely use modifiers like i and x on the qr//.

Replies are listed 'Best First'.
Re^3: login juniper ERX
by Mejaz (Novice) on Jun 09, 2008 at 12:17 UTC

        use strict; forces you to declare all your variables. It does that so any mistyped variable names get caught early on instead of trough a long and painful process of debugging. strict has a short description of what strict enforces - think of it as wearing a protection helmet while riding your motorbike.

      A reply falls below the community's threshold of quality. You may see it by logging in.