Skip to content

Commit eaefb74

Browse files
committed
First part of new MAIN features refs #2632: where
1 parent 31bc418 commit eaefb74

File tree

2 files changed

+186
-1
lines changed

2 files changed

+186
-1
lines changed

doc/Language/create-cli.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ Which would give the same output as the examples above. Whether you should
101101
use either method to achieve the desired goal is entirely up to you.
102102
103103
A more complicated example using a single positional and multiple
104-
named parameters:
104+
named parameters, and also showing that C<where> clauses can also be applied
105+
to C<MAIN> arguments:
105106
106107
=for code :method<False>
107108
# inside "frobnicate.raku"

p6doc.iml

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,5 +1295,189 @@
12951295
</SOURCES>
12961296
</library>
12971297
</orderEntry>
1298+
<orderEntry type="module-library">
1299+
<library name="JSON::Unmarshal" type="perl6">
1300+
<CLASSES />
1301+
<SOURCES>
1302+
<root url="raku://448590579:JSON::Unmarshal!/" />
1303+
</SOURCES>
1304+
</library>
1305+
</orderEntry>
1306+
<orderEntry type="module-library">
1307+
<library name="Pod::To::BigPage:ver&lt;0.5.1+&gt;" type="perl6">
1308+
<CLASSES />
1309+
<SOURCES>
1310+
<root url="raku://448590579:Pod::To::BigPage:ver&lt;0.5.1+&gt;!/" />
1311+
</SOURCES>
1312+
</library>
1313+
</orderEntry>
1314+
<orderEntry type="module-library">
1315+
<library name="JSON::Marshal" type="perl6">
1316+
<CLASSES />
1317+
<SOURCES>
1318+
<root url="raku://448590579:JSON::Marshal!/" />
1319+
</SOURCES>
1320+
</library>
1321+
</orderEntry>
1322+
<orderEntry type="module-library">
1323+
<library name="File::Directory::Tree" type="perl6">
1324+
<CLASSES />
1325+
<SOURCES>
1326+
<root url="raku://448590579:File::Directory::Tree!/" />
1327+
</SOURCES>
1328+
</library>
1329+
</orderEntry>
1330+
<orderEntry type="module-library">
1331+
<library name="JSON::Class:ver&lt;0.0.5+&gt;" type="perl6">
1332+
<CLASSES />
1333+
<SOURCES>
1334+
<root url="raku://448590579:JSON::Class:ver&lt;0.0.5+&gt;!/" />
1335+
</SOURCES>
1336+
</library>
1337+
</orderEntry>
1338+
<orderEntry type="module-library">
1339+
<library name="MIME::Base64" type="perl6">
1340+
<CLASSES />
1341+
<SOURCES>
1342+
<root url="raku://448590579:MIME::Base64!/" />
1343+
</SOURCES>
1344+
</library>
1345+
</orderEntry>
1346+
<orderEntry type="module-library">
1347+
<library name="META6" type="perl6">
1348+
<CLASSES />
1349+
<SOURCES>
1350+
<root url="raku://448590579:META6!/" />
1351+
</SOURCES>
1352+
</library>
1353+
</orderEntry>
1354+
<orderEntry type="module-library">
1355+
<library name="URI" type="perl6">
1356+
<CLASSES />
1357+
<SOURCES>
1358+
<root url="raku://448590579:URI!/" />
1359+
</SOURCES>
1360+
</library>
1361+
</orderEntry>
1362+
<orderEntry type="module-library">
1363+
<library name="JSON::Name" type="perl6">
1364+
<CLASSES />
1365+
<SOURCES>
1366+
<root url="raku://448590579:JSON::Name!/" />
1367+
</SOURCES>
1368+
</library>
1369+
</orderEntry>
1370+
<orderEntry type="module-library">
1371+
<library name="LWP::Simple" type="perl6">
1372+
<CLASSES />
1373+
<SOURCES>
1374+
<root url="raku://448590579:LWP::Simple!/" />
1375+
</SOURCES>
1376+
</library>
1377+
</orderEntry>
1378+
<orderEntry type="module-library">
1379+
<library name="Template::Mustache" type="perl6">
1380+
<CLASSES />
1381+
<SOURCES>
1382+
<root url="raku://448590579:Template::Mustache!/" />
1383+
</SOURCES>
1384+
</library>
1385+
</orderEntry>
1386+
<orderEntry type="module-library">
1387+
<library name="License::SPDX" type="perl6">
1388+
<CLASSES />
1389+
<SOURCES>
1390+
<root url="raku://448590579:License::SPDX!/" />
1391+
</SOURCES>
1392+
</library>
1393+
</orderEntry>
1394+
<orderEntry type="module-library">
1395+
<library name="OO::Monitors" type="perl6">
1396+
<CLASSES />
1397+
<SOURCES>
1398+
<root url="raku://448590579:OO::Monitors!/" />
1399+
</SOURCES>
1400+
</library>
1401+
</orderEntry>
1402+
<orderEntry type="module-library">
1403+
<library name="File::Find" type="perl6">
1404+
<CLASSES />
1405+
<SOURCES>
1406+
<root url="raku://448590579:File::Find!/" />
1407+
</SOURCES>
1408+
</library>
1409+
</orderEntry>
1410+
<orderEntry type="module-library">
1411+
<library name="Pod::Utilities" type="perl6">
1412+
<CLASSES />
1413+
<SOURCES>
1414+
<root url="raku://448590579:Pod::Utilities!/" />
1415+
</SOURCES>
1416+
</library>
1417+
</orderEntry>
1418+
<orderEntry type="module-library">
1419+
<library name="Test" type="perl6">
1420+
<CLASSES />
1421+
<SOURCES>
1422+
<root url="raku://448590579:Test!/" />
1423+
</SOURCES>
1424+
</library>
1425+
</orderEntry>
1426+
<orderEntry type="module-library">
1427+
<library name="Test::META" type="perl6">
1428+
<CLASSES />
1429+
<SOURCES>
1430+
<root url="raku://448590579:Test::META!/" />
1431+
</SOURCES>
1432+
</library>
1433+
</orderEntry>
1434+
<orderEntry type="module-library">
1435+
<library name="Pod::Load:ver&lt;0.4.0+&gt;" type="perl6">
1436+
<CLASSES />
1437+
<SOURCES>
1438+
<root url="raku://448590579:Pod::Load:ver&lt;0.4.0+&gt;!/" />
1439+
</SOURCES>
1440+
</library>
1441+
</orderEntry>
1442+
<orderEntry type="module-library">
1443+
<library name="JSON::Class" type="perl6">
1444+
<CLASSES />
1445+
<SOURCES>
1446+
<root url="raku://448590579:JSON::Class!/" />
1447+
</SOURCES>
1448+
</library>
1449+
</orderEntry>
1450+
<orderEntry type="module-library">
1451+
<library name="File::Temp" type="perl6">
1452+
<CLASSES />
1453+
<SOURCES>
1454+
<root url="raku://448590579:File::Temp!/" />
1455+
</SOURCES>
1456+
</library>
1457+
</orderEntry>
1458+
<orderEntry type="module-library">
1459+
<library name="Perl6::TypeGraph" type="perl6">
1460+
<CLASSES />
1461+
<SOURCES>
1462+
<root url="raku://448590579:Perl6::TypeGraph!/" />
1463+
</SOURCES>
1464+
</library>
1465+
</orderEntry>
1466+
<orderEntry type="module-library">
1467+
<library name="JSON::Fast" type="perl6">
1468+
<CLASSES />
1469+
<SOURCES>
1470+
<root url="raku://448590579:JSON::Fast!/" />
1471+
</SOURCES>
1472+
</library>
1473+
</orderEntry>
1474+
<orderEntry type="module-library">
1475+
<library name="Pod::To::HTML:ver&lt;0.6.1+&gt;" type="perl6">
1476+
<CLASSES />
1477+
<SOURCES>
1478+
<root url="raku://448590579:Pod::To::HTML:ver&lt;0.6.1+&gt;!/" />
1479+
</SOURCES>
1480+
</library>
1481+
</orderEntry>
12981482
</component>
12991483
</module>

0 commit comments

Comments
 (0)