Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Ok, this is no great and powerful obfu that will stump users for ages to come, it's more of a funny obfu taking advantage of the plethora of Finite Automata questions floating through the PM... So, I thought, why not get rid of the middle man. No longer do you have to wait for Clueless Newbies(tm) or Oxford Cream to come along and post a question of finite automatae, you can have hours of fun generating your own!
#!/usr/bin/perl -w use strict; # For those of you who just can't get enough Finite Automata # questions! ;-) $_=q~my@a=(['Hello','Greeti ngs','Hi','', 'What\'s_up','Honored_Monks ','Ummm'],["\n "],['my_teacher_assigned_us _a','I_was_wond ering,_if_I_wanted_to,_how_ would_I_write_a' ,'I_have_no_clue_when_to_st art,_I_need_to_w rite_a','URGENT!_URGENT!!_U RGENT!!!_I_neeeee d_help_with_this._Can_someo ne_tell_me_how_to_ write_or_gi ve_me_some_code_to_ perform_ope rations_of'],['_fini te_automata ._'],['The_requireme nts_can_be_ found_at_this_URL:_ht tp://www.my skool.edu/ class/home work/finite_automata/do_i t_yourself /assignment 1.htm.','It_must_be_able_ to_process_ up_to___RAN D___states_over_the_alpha bet_includ ing_1,3_and _7._Run_these_test_string s_against_i t..._1337_3 1337_133t_and_suX#r.','It _need_to_do _something_ with_states_and_an_alphab et,_but_I\ 'm_not_good _with_geography_so_really _need_help! ','','The_c ode_I_have_ started_looks_like_this:_#inc lude_<stdio .h>__void_main()_{_printf("Hel lo_World\n" );_}..._if_anyone_can_tell_me_ where_to_go _from_here_I_would_greatly_appr eciate_it.' ],["\n________________"],['Thank _You','Oh,_ and_I_need_this_by_Friday','Pleas e_please_PL EEEZ!','','Thank_you_for_this_wond erful_site! ','I_send_you_this_file_in_order_t o_have_your _advice','c lueless_newb ie','pearl_ user'],["\n" ]);for(@a){m y@b=@$_;$_= $b[rand@b];s /__RAND__/in t(rand(30)) /ge;s/_/chr( 32)/eg;print ;}~;s/\s//g ;eval$_;#### by Suaveant!!

Update semicolon after use strict

                - Ant
                - Some of my best work - Fish Dinner


In reply to Finite Automata Question Generator by suaveant

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [TStanley]: I'm sitting in the airport in Tampa, Florida at the moment, getting ready to head home.
    [talexb]: TStanley I'm flying to Vegas in two weeks time. After that flights leaving Vegas and Phoenix are late at night .. I've been hearing that it gets so hot that the air isn't dense enough for planes to take off. Weird. Guess you won't have that problem.

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (9)
    As of 2017-06-23 14:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      How many monitors do you use while coding?















      Results (548 votes). Check out past polls.