CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [p3aul] Help with simple command line program: Edit Log



FishMonger
Veteran / Moderator

Jul 28, 2012, 2:17 PM


Views: 1273
Re: [p3aul] Help with simple command line program

That use statement is instructing perl to not import any of the functions in the pragma.

You need to tell it that you want to import the switch function.

Code
use feature qw(switch);


See: http://search.cpan.org/~rjbs/perl-5.16.0/regen/feature.pl


(This post was edited by FishMonger on Jul 28, 2012, 2:19 PM)


Edit Log:
Post edited by FishMonger (Veteran) on Jul 28, 2012, 2:19 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives