just want to know is there a switch in perl like in C/java?
Aug 6, 2003, 5:59 AM
Veteran / Moderator (17297 posts)
Aug 6, 2003, 5:59 AM
Post #2 of 5
Views: 1247
What kind of switches? Like here;
http://perldoc.com/...unc.html#DESCRIPTION
... with the -w etc switches you can use?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
http://perldoc.com/...unc.html#DESCRIPTION
... with the -w etc switches you can use?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Aug 6, 2003, 11:27 AM
Administrator (9386 posts)
Aug 6, 2003, 11:27 AM
Post #4 of 5
Views: 1234
Nope, no official syntax, but a lot of ways to do it. See:
http://www.perldoc.com/...h-or-case-statement-
Cheers,
Alex
--
Gossamer Threads Inc.
http://www.perldoc.com/...h-or-case-statement-
Cheers,
Alex
--
Gossamer Threads Inc.
Aug 6, 2003, 11:29 AM
Administrator (9386 posts)
Aug 6, 2003, 11:29 AM
Post #5 of 5
Views: 1233
Oh, and if you really want some powerful switch handling, there's always:
http://search.cpan.org/...witch-2.09/Switch.pm
(but it's slow as it actually rewrites your code on the fly -- but very cool).
Cheers,
Alex
--
Gossamer Threads Inc.
http://search.cpan.org/...witch-2.09/Switch.pm
(but it's slow as it actually rewrites your code on the fly -- but very cool).
Cheers,
Alex
--
Gossamer Threads Inc.

