perl-begin / lib / MyNavData.pm

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
package MyNavData;

use strict;
use warnings;

use utf8;

my $hosts =
{
    berlios =>
    {
        base_url => "http://perl-begin.org/",
    },
};

sub get_hosts
{
    return $hosts;
}

my $tree_contents =
{
    host => "berlios",
    text => "Perl Beginners’ Site",
    title => "A useful Portal for People New to Perl",
    subs =>
    [
        {
            text => "Home",
            url => "",
        },
        {
            text => "About",
            url => "about.html",
        },
        {
            text => "News",
            url => "news/",
            title => "Previous News Item",
        },
        {
            text => "Links",
            url => "links/",
            title => "External Links to Other Resources",
        },
        {
            text => "Perl Humour",
            url => "humour/",
            title => "Perl Humour and Links to Perl Humour resources",
        },
        {
            text => "Learn Perl Now",
            url => "learn/",
            role => "header",
            title => "Why and how to learn Perl?",
            expand => { re => "", },
            subs =>
            [
                {
                    url => "learn/get-a-job/",
                    text => "Get a Job!",
                },
                {
                    url => "learn/why-perl/",
                    text => "Why Perl is Good",
                },
                {
                    url => "learn/who-is-using/",
                    text => "Who is Using Perl?"
                },
                {
                    url => "learn/perl6/",
                    text => "What about Perl 6?"
                },
                {
                    url => "learn/Perl-perl-but-not-PERL/",
                    text => ""Perl", and "perl", but not "PERL""
                },
            ],
        },
        {
            url => "resources/",
            text => "Resources",
            title => "Links to Online and Offline Resources for Learning Perl",
            role => "header",
        },
        {
            text => "Online Tutorials",
            url => "tutorials/",
            show_always => 1,
            subs =>
            [
                {
                    text => "Modern Perl by chromatic",
                    url => "tutorials/modern-perl/",
                    title => "The book “Modern Perl” by chromatic.",
                },
                {
                    text => qq{The "Perl for Newbies" Tutorial},
                    url => "tutorials/perl-for-newbies/",
                    title => "Perl Tutorial for Beginners",
                    subs =>
                    [
                        {
                            text => "Part 1",
                            url => "tutorials/perl-for-newbies/part1/",
                            title => "Perl Basics",
                        },
                        {
                            text => "Part 2",
                            url => "tutorials/perl-for-newbies/part2/",
                            title => "Real Programming with Perl",
                        },
                        {
                            text => "Part 3",
                            url => "tutorials/perl-for-newbies/part3/",
                            title => "Modules and Objects",
                        },
                        {
                            text => "Part 4",
                            url => "tutorials/perl-for-newbies/part4/",
                            title => "Useful Perl Paradigms",
                        },
                        {
                            text => "Part 5",
                            url => "tutorials/perl-for-newbies/part5/",
                            title => "Good Programming Practices",
                        },
                    ],
                },
                {
                    text => "Impatient Perl",
                    url => "tutorials/impatient-perl/",
                    title => "Book for Quickly Learning Perl (based on previous knowledge)",
                },
                {
                    text => "Elements to Avoid",
                    url => "tutorials/bad-elements/",
                    title => "Elements of Perl that should be avoided and what to replace them with",
                },
                {
                    text => "In Other Languages",
                    url => "tutorials/localized/",
                    title => "Tutorials in languages other than English",
                },
            ],
        },
        {
            text => "Books",
            url => "books/",
            subs =>
            [
                {
                    url => "books/advanced/",
                    text => "Advanced Books",
                    title => "Books that contain more information about Perl than the basics",
                },
                {
                    url => "books/topics/",
                    text => "Topic-related Books",
                    title => "Books that cover certain topics in detail",
                },
            ],
        },
        {
            url => "IDEs-and-tools/",
            text => "IDEs and Development Tools",
            title => "Integrated Development Environments (IDEs), Programmer Editors, and other Development Tools for Perl",
            subs =>
            [
                {
                    url => "IDEs-and-tools/Perl_developer_tools/",
                    text => "From perl.net.au",
                    title => "Restored page from perl.net.au",
                },
            ],
        },
        {
            url => "core-doc/",
            text => "Core Docs",
        },
        {
            url => "articles/",
            text => "Article Collections",
        },
        {
            url => "training/",
            text => "Training",
            title => "Take paid courses for learning Perl",
        },
        {
            url => "FAQs/",
            text => "FAQs",
            title => "Lists of Frequently Asked Questions with Answers",
            show_always => 1,
            subs =>
            [
                {
                    url => "FAQs/freenode-perl/",
                    text => "Freenode’s #perl FAQ",
                    title => "The Frequently Asked Questions List for the Freenode Perl Channel",
                },
            ],
        },
        {
            url => "exercises/",
            text => "Exercises and Challenges",
            title => "Links to Exercises and Challenges for Practice",
        },
        {
            separator => 1,
            skip => 1,
        },
        {
            text => "Mailing Lists",
            url => "mailing-lists/",
            title => "Ask questions and receive answers about Perl by E-mail",
        },
        {
            text => "Web Forums",
            url => "web-forums/",
            title => "Ask questions and receive answers by using a web-browser",
        },
        {
            text => "IRC Channels",
            url => "irc/",
            title => "Chat online about Perl using the Internet Relay Chat (IRC)",
        },
        {
            text => "Wikis",
            url => "wikis/",
            title => "Publicly editable sites with Lots of Useful Information",
        },
        {
            text => "Blogs",
            url => "blogs/",
            title => "Links to Perl-related Blogs (a.k.a "Weblogs" or online journals)",
        },
        {
            text => "Platforms",
            url => "platforms/",
            role => "header",
            show_always => 1,
            subs =>
            [
                {
                    text => "Mac OS",
                    url => "platforms/mac/",
                    title => "Macintosh and PowerPC/PowerMac Platforms",
                },
                {
                    text => "UNIX/Linux",
                    url => "platforms/unix/",
                },
                {
                    text => "Windows",
                    url => "platforms/windows/",
                },
            ],
        },
        {
            text => "Common Uses",
            url => "uses/",
            title => "Common Uses for Perl",
            role => "header",
            show_always => 1,
            subs =>
            [
                {
                    text => "Bio-Info",
                    url => "uses/bio-info/",
                    title => "Using Perl for Bio-Informatics",
                },
                {
                    text => "Chat Bots and Scripting (IRC, XMPP)",
                    url => "uses/chat-scripting/",
                    title => "Writing chat (IRC, Jabber and other IM) bots in Perl and general chat scripting",
                },
                {
                    text => "Databases",
                    url => "uses/databases/",
                    title => "Working with Databases (SQL, etc.) Using Perl",
                },
                {
                    text => "Email",
                    url => "uses/email/",
                    title => "Working with E-mail using Perl",
                },
                {
                    text => "Games and Multimedia",
                    url => "uses/games/",
                    title => "Developing Games and Multimedia Applications in Perl",
                },
                {
                    text => "GUI Development",
                    url => "uses/GUI/",
                    title => "Development of Graphical User Interface (GUIs) in Perl",
                },
                {
                    text => "Multitasking",
                    url => "uses/multitasking/",
                    title => "Perl for Multitasking and Networking",
                },
                {
                    text => "QA and Testing",
                    url => "uses/qa/",
                },
                {
                    text => "SSH/Telnet",
                    url => "uses/remote-login-and-commands/",
                    title => "Remote login and execution of commands (SSH, Telnet, etc.)",
                },
                {
                    text => "Sys Admin",
                    title => "Using Perl for System Administration",
                    url => "uses/sys-admin/",
                },
                {
                    text => "Text Generation",
                    title => "How to generate text using Perl",
                    url => "uses/text-generation/",
                },
                {
                    text => "Text Parsing",
                    title => "How to parse various forms of text using Perl",
                    url => "uses/text-parsing/",
                },
                {
                    text => "Web Automation",
                    title => "Perform operations on web-site programatically and automatically",
                    url => "uses/web-automation/",
                },
                {
                    text => "Web/CGI",
                    url => "uses/web/",
                },
                {
                    text => "XML",
                    url => "uses/xml/",
                },
            ],
        },
        {
            text => "Perl Topics",
            url => "topics/",
            title => "Perl-related Topics",
            role => "header",
            show_always => 1,
            subs =>
            [
                {
                    text => "Date and Time",
                    url => "topics/date-and-time/",
                    title => "Dates and Time Handling, Parsing and Processing",
                },
                {
                    text => "Debugging",
                    url => "topics/debugging/",
                    title => "Debugging Perl Programs",
                },
                {
                    text => "Files and Directories",
                    url => "topics/files-and-directories/",
                    title => "Handling Files and Directories in Perl",
                },
                {
                    text => "Hashes",
                    url => "topics/hashes/",
                    title => "Hashes / Associative Arrays for Mapping Keys to Values",
                },
                {
                    text => "Modules and Packages",
                    url => "topics/modules-and-packages/",
                    title => "Encapsulate code in reusable units and use namespaces effectively.",
                },
                {
                    text => "References",
                    url => "topics/references/",
                    title => "Perl References",
                },
                {
                    text => "Regular Expressions",
                    url => "topics/regular-expressions/",
                    title => "Regular Expressions in Perl",
                },
                {
                    text => "Object Oriented Perl",
                    url => "topics/object-oriented/",
                    title => "Object Oriented Programming and Design in Perl",
                },
                {
                    text => "Optimising and Profiling",
                    url => "topics/optimising-and-profiling/",
                    title => "How (and When) to make your Perl programs faster",
                },
                {
                    text => "Scoping and Variables",
                    url => "topics/scoping/",
                    title => "Local variables, lexical scoping, package variables",
                },
                {
                    text => "Using CPAN",
                    url => "topics/cpan/",
                    title => "Effectively using CPAN - the Comprehensive Perl Archive Network",
                    subs =>
                    [
                        {
                            text => "CPAN Wrappers for Distributions",
                            url => "topics/cpan/wrappers-for-distributions/",
                            title => "Wrap CPAN packages in native packages of your Linux/BSD/etc. distributions.",
                        }
                    ],
                },
            ],
        },
        {
            text => "Site Resources",
            url => "site-resources/",
            role => "header",
            show_always => 1,
        },
        {
            text => "Contribute",
            url => "contribute/",
            title => "Contribute new content or corrections to this site",
            role => "header",
            show_always => 1,
            subs =>
            [
                {
                    text => "Contributors List",
                    url => "contribute/list/",
                },
                {
                    text => "Site’s Source Code",
                    url => "source/",
                },
            ],
        },
    ],
};

sub get_params
{
    return
        (
            hosts => $hosts,
            tree_contents => $tree_contents,
        );
}

1;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.