Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Making Cue Scripts with Perl

by jwkrahn (Monsignor)
on Dec 17, 2012 at 21:19 UTC ( #1009235=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open PLAY, $mit_shakes || die "Could not open file: $!\n";
    
  2. or download this
    open( PLAY, $mit_shakes ) || die "Could not open file: $!\n";
    
  3. or download this
    open PLAY, $mit_shakes or die "Could not open file: $!\n";
    
  4. or download this
    until ($line =~ m/<\/head>/) {
      if ($line =~ m/<title>(.*)<\/title>/) {
    ...
      print "$line\n";
      $line = <PLAY>;
    }
    
  5. or download this
    while ( my $line = <PLAY> ) {
        last if $line =~ m/<\/head>/;
    ...
        }
        print "$line\n";
    }
    
  6. or download this
    my $i = 0;
    
    ...
    }
    
    print ". </h2>\n";
    
  7. or download this
    print join ', ', @ARGV, "</h2>\n";
    
  8. or download this
    while (<PLAY>) {
      $line = $_;
    
  9. or download this
    while ( my $line = <PLAY> ) {
    
  10. or download this
      foreach (@ARGV) {
        my $character = $_;
    
  11. or download this
      foreach my $character ( @ARGV ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009235]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-12-21 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls