[Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita <[EMAIL PROTECTED]> [2006-12-05 08:40]: > What wiki do you recommend? (in perl or php) I have tried > TWiki, but it has some bugs that I don't know how to solve. I think they all suck. :-) I’d probably try PhpWiki first. Regards, -- Aristotle Pagaltzis //

[Catalyst] FastCGI External

2006-12-05 Thread Sébastien Wagener
Hi, I have a Catalyst application that is running as an external FastCGI process. My Apache config looks like FastCgiExternalServer /tmp/myapp -socket /tmp/myapp.socket [...] Alias /myapp/ /tmp/myapp/ If I call http://localhost/myapp/user/login, Catalyst receives a request for "l

Re: [Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-05 Thread Jake
Thought I'd chime in with our developer contest at www.stickam.com, since we're doing one right now. Simply: We're rewarding the most interesting third party Stickam project with $1000 and a PS3 More details here: http://labs.stickam.com/ I'd really love a Perl hacker using Catalyst to win! ___

Re: [Catalyst] Re: Last Chance /LastDay:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-05 Thread Dave Howorth
Octavian Rasnita wrote: > Yesterday I have installed Catalyst and Task::Catalyst under Linux, using > the CPAN shell. > The process gave many errors, but they disappeared beeing replaced by the > new lines printed, so I don't know how to find them. > I have tried "install Catalyst" again, thinking

Re: [Catalyst] Re: Last Chance / Last Day: Web development platformcontest and Perl / Catalyst

2006-12-05 Thread Octavian Rasnita
From: "A. Pagaltzis" <[EMAIL PROTECTED]> > > What wiki do you recommend? (in perl or php) I have tried > > TWiki, but it has some bugs that I don't know how to solve. > > I think they all suck. :-) > > I’d probably try PhpWiki first. Ok, thanks. Do you want to say that all of them have big bugs?

Re: [Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-05 Thread Dave Howorth
Jonathan Rockway wrote: > Michael Reece wrote: >> >> click Catalyst::Manual::Tutorial: >> http://search.cpan.org/perldoc?Catalyst%3A%3AManual%3A%3ATutorial >> and get a big "*Not found*" from search.cpan.org > > Well, we don't control search.cpan.org, so that's really not something > we can help.

[Catalyst] Re: Last Chance / Last Day: Web development platform contest and Perl / Catalyst

2006-12-05 Thread A. Pagaltzis
* Dave Howorth <[EMAIL PROTECTED]> [2006-12-05 11:35]: > You can also run the individual tests from there (perl > t/some-test.t) You probably want `perl -Iblib t/some-test.t` – or just use `prove`. (See `perldoc prove`.) Regards, -- Aristotle Pagaltzis // _

Re: [Catalyst] Re: Last Chance /LastDay:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-05 Thread Daniel McBrearty
to run an individual test : perl -Ilib t/some_test_module.t On 12/5/06, Dave Howorth <[EMAIL PROTECTED]> wrote: Octavian Rasnita wrote: > Yesterday I have installed Catalyst and Task::Catalyst under Linux, using > the CPAN shell. > The process gave many errors, but they disappeared beeing rep

[Catalyst] Wikis (was: Last Chance / Last Day: Web development platform contest and Perl / Catalyst)

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita <[EMAIL PROTECTED]> [2006-12-05 11:45]: > From: "A. Pagaltzis" <[EMAIL PROTECTED]> > > I think they all suck. :-) > > > > I’d probably try PhpWiki first. > > Ok, thanks. Do you want to say that all of them have big bugs? No, I’m just saying all of them having things I dislike a

[Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
How does one do this? If you have a text input field which can be in *any* language, which will get stored in the db, how do you protect against script injection? If it's just english, I normally only accept characters from a given list (something like /[A-Za-z0-9]/ , plus whitespace and punctua

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Joel Bernstein
On Tue, Dec 05, 2006 at 01:10:35PM +0100, Daniel McBrearty wrote: > How does one do this? > > If you have a text input field which can be in *any* language, which > will get stored in the db, how do you protect against script > injection? > > If it's just english, I normally only accept character

[Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Hermida, Leandro
Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up the model connect info to come from the YAML configuration file? Using the tutorial as an example, I created the model file with the helper script myapp_create.pl: $ script/mya

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Steve Atkins
On Dec 5, 2006, at 4:10 AM, Daniel McBrearty wrote: How does one do this? If you have a text input field which can be in *any* language, which will get stored in the db, how do you protect against script injection? If it's just english, I normally only accept characters from a given list (som

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
yes, I would know the language being supported. There are a lot of languages though. Does it work with Chinese, or Marathi (Devanagari)? I didn't know that \W did that though. guess I need to look into it. Never seen that in the perldocs - any idea where I can look for the small print? On 12/5/0

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
hmmm ... I'll start here ... http://www.perl.com/doc/manual/html/pod/perllocale.html thanks. On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: yes, I would know the language being supported. There are a lot of languages though. Does it work with Chinese, or Marathi (Devanagari)? I didn'

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Robert 'phaylon' Sedlacek
Daniel McBrearty wrote: > > How does one do this? > > If you have a text input field which can be in *any* language, which > will get stored in the db, how do you protect against script > injection? Transform it to entities? Do you have an example? -- # Robert 'phaylon' Sedlacek # Perl 5/Catal

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Joel Bernstein
On Tue, Dec 05, 2006 at 02:11:27PM +0100, Daniel McBrearty wrote: > hmmm ... I'll start here ... > > http://www.perl.com/doc/manual/html/pod/perllocale.html Read perllocale, perlre (the section on \w and \W escapes for word/non-word characters) and locale. You will need the correct locales compi

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
If you're talking about sql injection then presumably you could do this exactly the same as you would any other input field - use sql placeholders in a prepared query rather than blindly pasting untrusted input as sql. This is what I'm talking about. I don't know this technique - I thought the

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Brian Cassidy
Hermida, Leandro wrote: Inside MyApp::Model::MyAppDB: use strict; use base 'Catalyst::Model::DBIC::Schema'; __PACKAGE__->config( schema_class => 'MyAppDB', connect_info => [ 'dbi:SQLite:myapp.db', '', '', { AutoCommit => 1 }, ], ); Mode

[Catalyst] Coverage tests in Catalyst

2006-12-05 Thread Ian Docherty
Is it possible to do coverage tests in a Catalyst application? If so how? I can't find any references that help. ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archi

Re: [Catalyst] Wikis (was: Last Chance / Last Day: Web developmentplatform contest and Perl / Catalyst)

2006-12-05 Thread Octavian Rasnita
From: "A. Pagaltzis" <[EMAIL PROTECTED]> > > > > > > I’d probably try PhpWiki first. > > Hi, Does PHPWiki support creating tables without using html code? I've checked their site, but I haven't found that something like that could be done. BTW, are there any wiki plug-ins for Catalyst? Thanks.

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Hermida, Leandro <[EMAIL PROTECTED]> wrote: Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up the model connect info to come from the YAML configuration file? Using the tutorial as an example, I created the model fi

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes <[EMAIL PROTECTED]> wrote: On 12/5/06, Hermida, Leandro <[EMAIL PROTECTED]> wrote: > Hello, > > I remember seeing the question being asked before but I couldn't find it > in the archives. How does one set up the model connect info to come > from the YAML configura

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Brandon Black
On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: This is what I'm talking about. I don't know this technique - I thought the only approach was to filter input. I'm using DBIx, AFAIK it does use placeholders ... ? If so, I can just take input, do some basic "sanity" filtering, and store?

RE: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Hermida, Leandro
Hi, thank you. Sorry I am a new user who has just finished the tutorial and seeing "where I can go next" and I now I am starting to put things together that the YAML file maps to the namespace and fills the __PACKAGE__->config() in that namespace. Cool!! Is there any way to make the YAML file a

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes <[EMAIL PROTECTED]> wrote: On 12/5/06, Juan Miguel Paredes <[EMAIL PROTECTED]> wrote: > On 12/5/06, Hermida, Leandro <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I remember seeing the question being asked before but I couldn't find it > > in the archives. How doe

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
thanks people, this is very helpful. Well, everything is postgresql / linux, so MSSQL will never be an issue. Also I only ever use utf8 ... so I guess I'm home and dry. It would be very neat to be able to do this without locale-switching (and installing). as a matter of interest, does anyone hav

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Dave Howorth
Brandon Black wrote: > On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: > >> This is what I'm talking about. I don't know this technique - I >> thought the only approach was to filter input. I'm using DBIx, AFAIK >> it does use placeholders ... ? If so, I can just take input, do some >> bas

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Steve Atkins
On Dec 5, 2006, at 5:28 AM, Daniel McBrearty wrote: If you're talking about sql injection then presumably you could do this exactly the same as you would any other input field - use sql placeholders in a prepared query rather than blindly pasting untrusted input as sql. This is what I'm tal

[Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Hermida, Leandro
Hello all, I thought the tutorial was absolutely great - things that I had in the past spent hours developing myself are practically plug and play and it gives you a nice taste of how powerful Catalyst is! One question about the tutorial though, doesn't building "presentation" material inside t

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
ah ... google to the rescue. It's obvious why, once I remembered what an injection attack actually *is* ... :-) On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: thanks people, this is very helpful. Well, everything is postgresql / linux, so MSSQL will never be an issue. Also I only eve

[Catalyst] Re: Wikis

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita <[EMAIL PROTECTED]> [2006-12-05 14:45]: > Does PHPWiki support creating tables without using html code? Yes. > I've checked their site, but I haven't found that something > like that could be done. Then you didn’t look for the text formatting rules. > BTW, are there any wiki

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Daniel McBrearty
I'll never forget the hours I spent discovering that mysql needs some little-documented command on connect, even though all tables are declared as UTF8 ... one of the factors that decided me on postgresql for the next version. In the first implementation of engoi, I was pretty paranoid about thes

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread John Napiorkowski
-- Brian Cassidy <[EMAIL PROTECTED]> wrote: > Hermida, Leandro wrote: > > Inside MyApp::Model::MyAppDB: > > > > use strict; > > use base 'Catalyst::Model::DBIC::Schema'; > > > > __PACKAGE__->config( > > schema_class => 'MyAppDB', > > connect_info => [ > > 'dbi:SQLite:myapp.db', > >

RE: [Catalyst] setting up files and namespace for utilizing different models in the same catalyst app

2006-12-05 Thread John Napiorkowski
--- "Hermida, Leandro" <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > > Sorry to send this post again, but I never really > got any response from > users as to advice on setting up namespaces in > Catalyst when using more > than one model for the same database in your > Catalyst app. Any > su

Re: [Catalyst] Re: Wikis

2006-12-05 Thread Octavian Rasnita
Does PHPWiki support creating tables without using html code? Yes. I've checked their site, but I haven't found that something like that could be done. Then you didn’t look for the text formatting rules. I have visited http://www.phpwiki.org/ and I have read the Text formatting rules sect

Re: [Catalyst] Coverage tests in Catalyst

2006-12-05 Thread Perrin Harkins
Ian Docherty wrote: Is it possible to do coverage tests in a Catalyst application? If so how? I can't find any references that help. If you're using mod_perl, there is a brief section in the Devel::Cover man page that tells you how to do it. - Perrin ___

[Catalyst] wiki of choice

2006-12-05 Thread Jonathan Rockway
Octavian Rasnita wrote: > From: "A. Pagaltzis" <[EMAIL PROTECTED]> > >> That just means noone has taken the time to groom the wiki. You >> don’t have to move things out of it to get it well organised. >> Without a gnome or two to look after them, wikis tend to devolve >> into an unnavigable mess.

Re: [Catalyst] FastCGI External

2006-12-05 Thread Jonathan Rockway
Sébastien Wagener wrote: > I have a Catalyst application that is running as an external FastCGI > process. My Apache config looks like > FastCgiExternalServer /tmp/myapp -socket /tmp/myapp.socket > [...] > Alias /myapp/ /tmp/myapp/ > If I call http://localhost/myapp/user/login, Cata

Re: [Catalyst] Coverage tests in Catalyst

2006-12-05 Thread Jonathan Rockway
Ian Docherty wrote: > Is it possible to do coverage tests in a Catalyst application? If so > how? I can't find any references that help. Catalyst apps aren't special -- do coverage tests like you would with any other perl module: $ cover -delete $ HARNESS_PERL_SWITCHES=-MDevel::Cover make

[Catalyst] Re: Wikis

2006-12-05 Thread A. Pagaltzis
* Octavian Rasnita <[EMAIL PROTECTED]> [2006-12-05 16:45]: > I have visited http://www.phpwiki.org/ and I have read the Text > formatting rules sections, but I haven't seen anything about > tables. Hmm, it’s not mentioned indeed. Ah well, documentation was always PhpWiki’s weak point… along with g

Re: [Catalyst] Re: Wikis

2006-12-05 Thread Caroline Johnston
If you're just looking for something quick and easy, have you tried pmwiki (www.pmwiki.org)? It's just php and flat-files, it's dead simple to set up and there's loads of documentation. There's a full markup list (including tables) at http://www.pmwiki.org/wiki/PmWiki/MarkupMasterIndex Cxx On Tu

Re: [Catalyst] Coverage tests in Catalyst

2006-12-05 Thread Jonathan Rockway
Ian Docherty wrote: > Don't we have to do both of these? > > Coverage of the 'make test' will only show coverage for those modules we > can test 'statically' i.e. by making direct calls to the methods in the > tests > > Tests that are done with LWP (or is it Mechanize) which are http > requests t

Re: [Catalyst] Coverage tests in Catalyst

2006-12-05 Thread Ian Docherty
Don't we have to do both of these? Coverage of the 'make test' will only show coverage for those modules we can test 'statically' i.e. by making direct calls to the methods in the tests Tests that are done with LWP (or is it Mechanize) which are http requests to the application will probably

Re: [Catalyst] Re: Wikis

2006-12-05 Thread Sebastian Riedel
Octavian Rasnita wrote: I have visited http://www.phpwiki.org/ and I have read the Text formatting rules sections, but I haven't seen anything about tables. Now I've read it again, and I still cannot find something about tables. Am I looking in a wrong place? Learn2Google (seriously) :) h

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Brandon Black
On 12/5/06, Dave Howorth <[EMAIL PROTECTED]> wrote: Brandon Black wrote: > On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: > >> This is what I'm talking about. I don't know this technique - I >> thought the only approach was to filter input. I'm using DBIx, AFAIK >> it does use placeholde

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Nilson Santos Figueiredo Junior
On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: In the first implementation of engoi, I was pretty paranoid about these things - there is some fairly draconian filtering going on. However, if I can relax and let people use usernames and passwords in their own character sets for the future

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Jonathan Rockway
Nilson Santos Figueiredo Junior wrote: > This way, everything will probably just work, even when the user has a > "<" on their names or any other weird characters. No, you can inject plenty of bad code without <. You need to escape &, <, >, ", and '. Otherwise, consider with baz = " on

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Christopher H. Laco
Jonathan Rockway wrote: > Nilson Santos Figueiredo Junior wrote: >> This way, everything will probably just work, even when the user has a >> "<" on their names or any other weird characters. > > No, you can inject plenty of bad code without <. You need to escape &, > <, >, ", and '. > > Otherwi

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Nilson Santos Figueiredo Junior
On 12/5/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote: Nilson Santos Figueiredo Junior wrote: > This way, everything will probably just work, even when the user has a > "<" on their names or any other weird characters. No, you can inject plenty of bad code without <. You need to escape &, <, >

[Catalyst] Re: {OT] protecting against attacks with multilingual input

2006-12-05 Thread A. Pagaltzis
Hi Christopher, * Christopher H. Laco <[EMAIL PROTECTED]> [2006-12-05 22:20]: > Jonathan Rockway wrote: > > No, you can inject plenty of bad code without <. You need to > > escape &, <, >, ", and '. > > > > Otherwise, consider > > > > > > > > with > > > >baz = " onload="alert('hello!'

[Catalyst] Re: {OT] protecting against attacks with multilingual input

2006-12-05 Thread A. Pagaltzis
* Jonathan Rockway <[EMAIL PROTECTED]> [2006-12-05 22:10]: > You need to escape &, <, >, ", and '. s[([<>&"'])]{ '&#' . ord( $1 ) . ';' }ge; Regards, -- Aristotle Pagaltzis // ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Re: {OT] protecting against attacks with multilingual input

2006-12-05 Thread Christopher H. Laco
A. Pagaltzis wrote: > * Jonathan Rockway <[EMAIL PROTECTED]> [2006-12-05 22:10]: >> You need to escape &, <, >, ", and '. > > s[([<>&"'])]{ '&#' . ord( $1 ) . ';' }ge; > > Regards, Right. But don't do that (roll your own). Use the HTML plugin. Don't reinvent the wheel when displaying the con

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Sebastian Riedel
Hermida, Leandro wrote: I thought the tutorial was absolutely great - things that I had in the past spent hours developing myself are practically plug and play and it gives you a nice taste of how powerful Catalyst is! One question about the tutorial though, doesn't building "presentation" m

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Nilson Santos Figueiredo Junior
On 12/5/06, Sebastian Riedel <[EMAIL PROTECTED]> wrote: HTML::Widget was an experiment and i wouldn't suggest using it anymore. There should be a TT plugin imo similar to the CGI.pm one, just sane. :) IMO, the real thing that's missing is Perl code layer between the controller and the template,

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Thomas L. Shinnick
At 05:56 PM 12/5/2006, Sebastian Riedel wrote: Hermida, Leandro wrote: I thought the tutorial was absolutely great - things that I had in the past spent hours developing myself are practically plug and play and it gives you a nice taste of how powerful Catalyst is! One question about the tuto

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Perrin Harkins
Nilson Santos Figueiredo Junior wrote: c) write a TT plugin. [...] "c" is arguably clumsy and not practical at all. It can be really easy to add custom view code to TT templates. You can immediately load any class and just call it: [% USE MyView %] [% MyView.method(arg) %] If it supports

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread John Siracusa
On 12/5/06 7:51 PM, Nilson Santos Figueiredo Junior wrote: > On 12/5/06, Sebastian Riedel <[EMAIL PROTECTED]> wrote: >> HTML::Widget was an experiment and i wouldn't suggest using it anymore. >> There should be a TT plugin imo similar to the CGI.pm one, just sane. :) > > IMO, the real thing that's

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Nilson Santos Figueiredo Junior
On 12/5/06, Perrin Harkins <[EMAIL PROTECTED]> wrote: It can be really easy to add custom view code to TT templates. You can immediately load any class and just call it: [% USE MyView %] [% MyView.method(arg) %] Yes, but you'd need to manually use the correct class in every template and then

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Nilson Santos Figueiredo Junior
On 12/5/06, John Siracusa <[EMAIL PROTECTED]> wrote: What would this "Perl code layer" be responsible for doing? Can you give some examples? The most obvious example is data set sorting. The sort order is something presentation related and, thus, shouldn't be in your controller (at least from

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread John Siracusa
On 12/5/06 8:51 PM, Nilson Santos Figueiredo Junior wrote: > On 12/5/06, John Siracusa <[EMAIL PROTECTED]> wrote: >> What would this "Perl code layer" be responsible for doing? Can you give >> some examples? >> > The most obvious example is data set sorting. The sort order is something > presenta

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Perrin Harkins
Nilson Santos Figueiredo Junior wrote: On 12/5/06, Perrin Harkins <[EMAIL PROTECTED]> wrote: It can be really easy to add custom view code to TT templates. You can immediately load any class and just call it: [% USE MyView %] [% MyView.method(arg) %] Yes, but you'd need to manually use the c