in reply to Re^2: declare and init a scalar
in thread declare and init a scalar
I've got into the habit of using q{ ... } and qq{ ... } because it I work in both Unix/Linux and MS Windows environments. They mean I don't have to think about the quoting conventions of the o/s when writing one-liners,
That is the most (only) cogent argument I seen for this practice.
However, given that you have to think about whether to use -E' ... ' or -E" ... " in the first place, within that, choosing to use q[ ... ] or qq[ ... ] when appropriate doesn't seem so hard.
And limiting that use to just one-liners, less so.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: declare and init a scalar
by Anonymous Monk on Jan 23, 2015 at 02:00 UTC | |
|
Re^4: declare and init a scalar
by soonix (Chancellor) on Jan 23, 2015 at 11:44 UTC | |
by BrowserUk (Patriarch) on Jan 23, 2015 at 12:49 UTC | |
by soonix (Chancellor) on Jan 23, 2015 at 13:53 UTC |