if you're using Plack, check http://search.cpan.org/perldoc?Plack::Middleware::StaticShared if you're using Catalyst, check http://search.cpan.org/perldoc?Catalyst::Controller::Combine
there is other modules too. you can search it in CPAN. Thanks On Friday, May 11, 2012 1:42:56 PM UTC+8, 蓝天下云层上 wrote: > > <html> > <head> > <script src="/js/a.js"</script> > <script src="/js/b.js"</script> > <script src="/js/c.js"</script> > </head> > <body> > </body> > <script src="/js/d.js"</script> > </html> > > > 像a.js b.js c.js 这三个script标签是连续的,用perl把这连续的三个处理成一个如下,该怎么写啊? > <html> > <head> > <script src="/js/a.js,b.js,c.js"</script> > </head> > <body> > </body> > <script src="/js/d.js"</script> > </html> > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/perlchina/-/r9rbw2wO_okJ。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
