Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Variable not set properly in perl

by Athanasius (Archbishop)
on Sep 28, 2014 at 16:17 UTC ( [id://1102276]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($_ =~ /^xa1/) {
    
  2. or download this
    sub getsub
    {
    ...
            print if /\.subckt $sub/ .. /\.ends/;
        }
    }
    
  3. or download this
    use strict;
    use warnings;
    ...
    }
    
    close $fh or die "Could not close file: $!";
    
  4. or download this
     2:55 >perl 1032_SoPW.pl subs.txt
    line found to be xa1 a s f a1
    ...
     .ends
    
     2:56 >
    
  5. or download this
    while ((my $nxt = readline($fh)) =~ /^\+/)
    
  6. or download this
    while (!eof && (my $nxt = readline($fh)) =~ /^\+/)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found