“for” 是什么意思? `uri_for` 是什么意思?
在Catalyst中,我不明白的用途 表示在 $c->URI_for();
子例程中。
它是 for + some 的缩写(可以是 forward)、首字母缩略词还是其他什么?
In Catalyst, I don't understand what does the for means in the $c->URI_for();
subroutine.
Is it an abbrev for for + something (could be forward), an acronym or something ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它表示特定
$c
的 URI。就法语而言,可以用
pour
来思考,如Nom pour le livre
(书名),不过,考虑到我上次读这本书已经有二十年了实际上讲的是法语,我可能无意中侮辱了你的传统:-)It means the URI for whatever that particular
$c
is.In terms of French, think of it in terms of
pour
, as inNom pour le livre
(name for the book) although, given it's been some twenty years since I last actually spoke French, I may have inadverdently insulted your heritage :-)in 不是首字母缩写词。像以下内容一样阅读:
The
for
inuri_for
is not an acronym. Read it like: